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 thePATHenvironment variable. Open the file~/.bashrcin 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 thePATHenvironment variable. Open the file~/.bash_profilein 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.
Note: The first time you run sbt, it will download libraries from the internet.
If you have problems installing sbt, ask for help on the mailing list or on the IRC channel at #spire-math on freenode.