On OSX should NPM install global packages to:
/usr/local/lib/node_modules
or
/usr/local/share/npm
The global packages get installed to:
/usr/local/lib/node_modules
and man pages get installed at (if supplied):
/usr/local/share/npm
see this for more information.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.