vurtoronto.blogg.se

Nvm use node version
Nvm use node version









Do yourself a favor and remove that to prevent possible issues with linking globale packages via npm link.

nvm use node version

Potential problems with linking global packagesĭouble check if there still is a node_modules directory in /usr/local/lib holding your globally installed packages.

nvm use node version

Let’s get rid of this and older versions in the cellar of homebrew: $ brew uninstall -force node But I have to be able to use a different Node version just in case thinks break with Node 4.0.įirst we could check which version of node we are using: $ node -v This became more important since the stable release of Node 4.0 which I like to use.

nvm use node version

But beside the quirk when it comes to updating npm there is a method which makes switching Node.js version even easier. Sure you can just use homebrew to update your Node.js installation when there are new releases.











Nvm use node version