Updating README and website with -g instructions.

This commit is contained in:
Jeremy Ashkenas 2011-04-30 11:10:37 -04:00
parent bf8fbc2c0e
commit 468ad1a2d5
2 changed files with 15 additions and 10 deletions

1
README
View File

@ -27,6 +27,7 @@
Or, if you have the Node Package Manager installed: Or, if you have the Node Package Manager installed:
npm install -g coffee-script npm install -g coffee-script
(Leave off the -g if you don't wish to install globally.)
Compile a script: Compile a script:
coffee /path/to/script.coffee coffee /path/to/script.coffee

View File

@ -166,17 +166,21 @@
</p> </p>
<pre> <pre>
npm install coffee-script</pre> npm install -g coffee-script</pre>
<p> <p>
If you'd prefer to install the latest master version of CoffeeScript, you (Leave off the <tt>-g</tt> if you don't wish to install globally.)
can clone the CoffeeScript </p>
<a href="http://github.com/jashkenas/coffee-script">source repository</a>
from GitHub, or download <p>
<a href="http://github.com/jashkenas/coffee-script/tarball/master">the source</a> directly. If you'd prefer to install the latest master version of CoffeeScript, you
To install the CoffeeScript compiler system-wide can clone the CoffeeScript
under <tt>/usr/local</tt>, open the directory and run: <a href="http://github.com/jashkenas/coffee-script">source repository</a>
</p> from GitHub, or download
<a href="http://github.com/jashkenas/coffee-script/tarball/master">the source</a> directly.
To install the CoffeeScript compiler system-wide
under <tt>/usr/local</tt>, open the directory and run:
</p>
<pre> <pre>
sudo bin/cake install</pre> sudo bin/cake install</pre>