Closed victorporof closed 8 years ago
Maybe now homebrew's default node install is actually a version of node we use we should just switch to brew install node
.
brew install node
does install the latest node and nvm.
Currently it's node v6.2.0 and npm 3.8.9.
Problem is, what we require and what brew installs might change.
The brew install of node can cause problems for people. When I was at npm, the folks there were pretty adamant about not recommending it. Instead, the recommendation was to install/update from the nodejs.org itself. I don't know whether that's still the case.
@linclark any specific kind of problems, or just the age-old "we don't maintain the formula so we have no control over what might happen"?
I think it was a little bit of the latter, but also IIRC it didn't set the right permissions on the global install directories. It's not too hard to change that, but it can be confusing for people who aren't familiar with npm because npm just spews EACCES
at you.
Just did a little research and it looks like that isn't a problem with the homebrew version anymore, so brew should be fine.
Alright, I'm updating the readme.
Thanks @linclark for the input!
See https://github.com/creationix/nvm/issues/303
Should our readme cater to people who don't use more well known shells like bash or zsh? If so, we should tell them to install
fnm
instead, viafisherman
oroh-my-fish
or whatever other shell utility package manager they use.