From 468ad1a2d5b4378aad5491261e68e422612406c9 Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Sat, 30 Apr 2011 11:10:37 -0400 Subject: [PATCH] Updating README and website with -g instructions. --- README | 1 + documentation/index.html.erb | 24 ++++++++++++++---------- 2 files changed, 15 insertions(+), 10 deletions(-) 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