aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorTristan Dunn2010-08-24 20:41:45 -0400
committerAdam Vandenberg2010-08-24 18:26:35 -0700
commit222cc8338645a8a3c2c745bf787b4669acb5681b (patch)
tree33bfe3d0b3eef5d95b719c2310cf1260f36b00b6 /Library
parent075b063565bb94f9527d6033bce3c672f2556224 (diff)
downloadhomebrew-222cc8338645a8a3c2c745bf787b4669acb5681b.tar.bz2
Better and correct instructions for npm.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/npm.rb9
1 files changed, 8 insertions, 1 deletions
diff --git a/Library/Formula/npm.rb b/Library/Formula/npm.rb
index 60ee770f2..7c7d62094 100644
--- a/Library/Formula/npm.rb
+++ b/Library/Formula/npm.rb
@@ -55,12 +55,19 @@ EOS
def caveats; <<-EOS.undent
npm will install binaries to:
#{share_bin}
+
You may want to add this to your PATH.
npm will install libraries to:
- #{node_lib}/.node_libraries
+ #{node_lib}/.npm
To manually remove libraries installed by npm, delete this (hidden!) folder.
+
+ npm will also symlink libraries to:
+ #{node_lib}
+
+ You will want to add this to your NODE_PATH if you wish to
+ require libraries without a path.
EOS
end
end