Installation

sh.js has only been tested on Ubuntu 10.10 64 bit. Node.js supports other platforms, so you may give it a shot.

sh.js requires node.js to function.

If you have npm, you can install sh.js with:

 
npm install sh

A few weeks from now, you'll just have to run the following to update:

 
npm update sh

Then you can make sure everything is okay by running the unit tests (you need rake):

 
npm test sh

If it prints "All tests passed", you can head to the tutorial. Otherwise, please report the issue on github.

Installation with git

If you have git, you can clone the repository:

 
git clone https://github.com/guitt/sh.js.git

A few weeks from now, you'll just have to run the following to update:

 
git pull

Now go to the directory and run the tests:

 
 
 
rake test                        # obviously you need rake
# or
cd test && ./run_tests.sh        # this only requires sh

If it prints "All tests passed", you can head to the tutorial. Otherwise, please report the issue on github.