From 222cc8338645a8a3c2c745bf787b4669acb5681b Mon Sep 17 00:00:00 2001 From: Tristan Dunn Date: Tue, 24 Aug 2010 20:41:45 -0400 Subject: Better and correct instructions for npm. Signed-off-by: Adam Vandenberg --- Library/Formula/npm.rb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3