Skip to content

Commit

Permalink
Updating README and website with -g instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
jashkenas committed Apr 30, 2011
1 parent bf8fbc2 commit 468ad1a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 11 deletions.
1 change: 1 addition & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

Or, if you have the Node Package Manager installed:
npm install -g coffee-script
(Leave off the -g if you don't wish to install globally.)

Compile a script:
coffee /path/to/script.coffee
Expand Down
26 changes: 15 additions & 11 deletions documentation/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -166,17 +166,21 @@
</p>

<pre>
npm install coffee-script</pre>

<p>
If you'd prefer to install the latest master version of CoffeeScript, you
can clone the CoffeeScript
<a href="http://github.com/jashkenas/coffee-script">source repository</a>
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>
npm install -g coffee-script</pre>

<p>
(Leave off the <tt>-g</tt> if you don't wish to install globally.)
</p>

<p>
If you'd prefer to install the latest master version of CoffeeScript, you
can clone the CoffeeScript
<a href="http://github.com/jashkenas/coffee-script">source repository</a>
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>
sudo bin/cake install</pre>
Expand Down

0 comments on commit 468ad1a

Please sign in to comment.