Permalink
Browse files

Updating README and website with -g instructions.

  • Loading branch information...
1 parent bf8fbc2 commit 468ad1a2d5b4378aad5491261e68e422612406c9 @jashkenas committed Apr 30, 2011
Showing with 16 additions and 11 deletions.
  1. +1 −0 README
  2. +15 −11 documentation/index.html.erb
View
@@ -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
@@ -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>

0 comments on commit 468ad1a

Please sign in to comment.