To install git in Linux-like systems you can do it via your native package management system:
$ yum install git
or:
$ sudo apt-get install git
In both Mac 10.4 and 10.5, you can install Git via MacPorts
$ sudo port install git
For Windows, install git from here http://msysgit.github.io/
- Download sbt from here: http://scalasbt.artifactoryonline.com/scalasbt/sbt-native-packages/org/scala-sbt/sbt/0.12.2/sbt.tgz
- Unpack the archive to a directory of your choice
- Add the
bin/
directory to thePATH
environment variable. Open the file~/.bashrc
in an editor (create it if it doesn’t exist) and add the following lineexport PATH=/PATH/TO/YOUR/sbt/bin:$PATH
Verify that sbt
is installed correctly: Open a new terminal (to apply the changed .bashrc
) and type sbt -h
, you should see a help message from sbt
.
If you use the homebrew package manager, simply type brew update
and then brew install sbt
in a Terminal prompt.
Otherwise, install sbt
by following these steps:
- Download sbt from here: http://scalasbt.artifactoryonline.com/scalasbt/sbt-native-packages/org/scala-sbt/sbt/0.12.2/sbt.tgz
- Unpack the archive to a directory of your choice
- Add the
bin/
directory to thePATH
environment variable. Open the file~/.bash_profile
in an editor (create it if it doesn’t exist) and add the following lineexport PATH=/PATH/TO/YOUR/sbt/bin:$PATH
Verify that sbt
is installed correctly: Open a new terminal (to apply the changed .bashrc
) and type sbt -h
, you should see a help message from sbt
.
- Download the sbt installer from here: http://scalasbt.artifactoryonline.com/scalasbt/sbt-native-packages/org/scala-sbt/sbt/0.12.2/sbt.msi
- Run the installer
Verify that sbt
is installed correctly: open the Command Prompt and type sbt sbt-version
, you should see the version number of sbt
.
If you have problems installing sbt, ask for help on the mailing list or on our IRC channel at #spire-math on freenode.