Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install and use yarn along with nvm-windows #297

Closed
Deilan opened this issue Aug 26, 2017 · 5 comments
Closed

How to install and use yarn along with nvm-windows #297

Deilan opened this issue Aug 26, 2017 · 5 comments

Comments

@Deilan
Copy link

Deilan commented Aug 26, 2017

How to install and use yarn along with nvm-windows? yarn depends on Node.js and brings it if it's not installed in a regular way.

@coreybutler
Copy link
Owner

npm install -g yarn should work.

@Deilan
Copy link
Author

Deilan commented Sep 9, 2017

@coreybutler Thanks! I wonder it's not on the official list of theirs' install options, although the npm package is the official one.

@coreybutler
Copy link
Owner

The yarn team has a funky approach. It's a great tool, but they enforce several practices the Node Foundation wishes would just go away. One frustration is lack of consideration for version managers, even though there is an official working group for it within the Node Foundation and there have been several conversations around whether the node installer should actually install a version manager (an ongoing discussion). However; at the end of the day, yarn is still just an npm package. I'll update the README/wiki to make a note of this.

@nanmu42
Copy link

nanmu42 commented Nov 13, 2017

Actually it is on the list, see Alternatives Tab.

Although the security risk they mentioned seems to be a little pale...

@Deilan

@justoverclockl
Copy link

why if i run npm install -g yarn, he create node_modules folder into desktop??

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

No branches or pull requests

4 participants