在macOS使用nvm安装node和npm
首先是安装nvm:
$ brew install nvm
然后是把nvm配置好:

然后是安装node:
$ nvm install node
然后安装npm:
$ nvm install-latest-npm

后续可以使用npm进一步安装别的包。
首先是安装nvm:
$ brew install nvm
然后是把nvm配置好:

然后是安装node:
$ nvm install node
然后安装npm:
$ nvm install-latest-npm

后续可以使用npm进一步安装别的包。
My Github Page: https://github.com/liweinan
If you have any question want to ask or find bugs regarding
with my blog posts, please report it here:
https://github.com/liweinan/liweinan.github.io/issues