How To Set A Default NVM Node.js Version

Node.js

05/12/2022


You can set a specific Node version as your default with:

BASH
nvm alias default <version>
# nvm alias default 14
# nvm alias default 16.17.0

Of course, the specified version must already be installed. If not, run:

BASH
nvm install <version>
# nvm install 14
# nvm install 16.17.0

WRITTEN BY

Code and stuff