Skip to content
This repository has been archived by the owner on Mar 21, 2018. It is now read-only.

nvm can't be used in fish shell #507

Closed
victorporof opened this issue May 23, 2016 · 9 comments
Closed

nvm can't be used in fish shell #507

victorporof opened this issue May 23, 2016 · 9 comments

Comments

@victorporof
Copy link
Contributor

victorporof commented May 23, 2016

See nvm-sh/nvm#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, via fisherman or oh-my-fish or whatever other shell utility package manager they use.

@Mossop
Copy link
Member

Mossop commented May 23, 2016

Maybe now homebrew's default node install is actually a version of node we use we should just switch to brew install node.

@victorporof
Copy link
Contributor Author

victorporof commented May 23, 2016

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.

@linclark
Copy link
Contributor

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.

@victorporof
Copy link
Contributor Author

@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"?

@linclark
Copy link
Contributor

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.

@linclark
Copy link
Contributor

Just did a little research and it looks like that isn't a problem with the homebrew version anymore, so brew should be fine.

@victorporof
Copy link
Contributor Author

Alright, I'm updating the readme.

@victorporof
Copy link
Contributor Author

62c5895

@victorporof
Copy link
Contributor Author

Thanks @linclark for the input!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants