使用自制软件升级节点
==> Downloading http://nodejs.org/dist/v0.8.21/node-v0.8.21.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/node/0.8.21
==> make install
我注意到了这一点
==> Caveats
Homebrew installed npm.
We recommend prepending the following path to your PATH environment
variable to have npm-installed binaries picked up:
/usr/local/share/npm/bin
在$PATH
我已经:/usr/local/share/npm/lib/node_modules/scripted/bin
我也应该添加/usr/local/share/npm/bin
吗?
请注意,/usr/local/share/npm/bin
它只包含两个子文件夹:scr
并且 scripted
那也都在,那么这两个文件夹的用途/usr/local/share/npm/lib/node_modules/scripted/bin
有什么区别?
EDIT
/usr/local/share/npm/bin
仅包含两个符号链接(不是子文件夹)