The NVM Linux command can be used to update the default version of Node.js and NPM.

Example: Use Node.js 17

nvm use 17

Example: Use Node.js 16

nvm use 16

Example: Use Node.js 14

nvm use 15

Persist version forever

If you want to set Node.js version forever, please use please create .nvmrc file in your home directory:

echo "16" > ~/.nvmrc

<aside> ℹ️ Please, let us know if some essentials are missing. Join our Discord Community to discuss new ideas and features.

</aside>

Powered by Fruition