Can Yarn and NVM Coexist on Windows? Can Yarn and NVM Coexist on Windows? windows windows

Can Yarn and NVM Coexist on Windows?


It's a while ago you asked, but I just stepped over your question.

You can simply install yarn as node module globally:

 npm i -g yarn

This works very nicely when using nvm-windows.

Additional hint: Since switching to a new node version with nvm requires to re-install all globally installed node modules, I started to use yarn instead of npm for managing all other global modules except of npm and yarn itself. This way, updating node is quite painless.