# How to use Sage in terminal?

Dear All,

I am trying to use sage in Mac OSX. I already installed the binary distribution. The problem is I cannot access the sage environment in terminal and when I run sage in Mac it opens Sage Notebook. The thing is I am trying to install PyMVPA and Nibabel in Sage, but as I look into guides I need to go through these steps according to:

http://sites.google.com/site/neuroinf...

Install pynifti and pymvpa -Download latest versions of pynifti and pymvpa -In the unpacked directories of pynifti and pymvpa and within a Sage environment (i.e. " $ sage -sh "), install the modules. I.e. " $ make all " and " $ python setup install ". Check installation by " sage: import pynifti " and " sage: import mvpa "

and when I type "sage -sh" in terminal it opens the sage process and the notebook in Safari! So I don't know where and when I need to type the rest which are "make all" and "python setup install"

I would be really grateful if someone helps.