gertour.blogg.se

Nvm use
Nvm use













If you don't specify an exact version, nvm will download the latest version automatically.Īfter installing any version of NodeJS with nvm you can easily switch to that version by running nvm use. įirst of all, install your favorite node version: nvm install 10.

nvm use

After this, you should restart your terminal to use nvm.Ĭheck this link for the latest version and more details on how to install nvm on your machine (macOS and Linux). You can change your node version instantly with a single command - cool 😎Īfter the installation is complete you should add the last three lines you see above in your shell configuration file (which means copypasting them in ~/.bash_profile or whatever you are using).

nvm use

It allows you to easily change the node version, this comes really helpful for example when you work on multiple projects with different NodeJS versions.















Nvm use