diff --git a/README b/README index 4e1fbc89..08f17dff 100644 --- a/README +++ b/README @@ -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 diff --git a/documentation/index.html.erb b/documentation/index.html.erb index 3ee80347..b9c75c5e 100644 --- a/documentation/index.html.erb +++ b/documentation/index.html.erb @@ -166,17 +166,21 @@

-npm install coffee-script
+npm install -g coffee-script -

- If you'd prefer to install the latest master version of CoffeeScript, you - can clone the CoffeeScript - source repository - from GitHub, or download - the source directly. - To install the CoffeeScript compiler system-wide - under /usr/local, open the directory and run: -

+

+ (Leave off the -g if you don't wish to install globally.) +

+ +

+ If you'd prefer to install the latest master version of CoffeeScript, you + can clone the CoffeeScript + source repository + from GitHub, or download + the source directly. + To install the CoffeeScript compiler system-wide + under /usr/local, open the directory and run: +

 sudo bin/cake install