-
Install
nvm
on your system -
Add the desired version of Node.js using
nvm install
command -
Navigate to the root directory of your project and create a file called
.nvmrc
-
Inside the
.nvmrc
file, write the version of Node.js that you want to use for your project -
Save the
.nvmrc
file