What is the suggested way to install brew, node.js, io.js, nvm, npm on OS X?

后端 未结 9 1187
佛祖请我去吃肉
佛祖请我去吃肉 2020-11-30 15:51

I am trying to use homebrew as much as possible. What\'s the suggested way to install the following on OS X?

  • node.js
  • io.js
  • nvm
  • npm
9条回答
  •  爱一瞬间的悲伤
    2020-11-30 16:47

    You should install node.js with nvm, because that way you do not have to provide superuser privileges when installing global packages (you can simply execute "npm install -g packagename" without prepending 'sudo').

    Brew is fantastic for other things, however. I tend to be biased towards Bower whenever I have the option to install something with Bower.

提交回复
热议问题