Asked
Active
Viewed 4,461 times
0

Gaurav Verma
- 1
- 1
- 3
-
`npm install n -g` , `n stable` , `sudo n stable` n is a node version manager you can add any version name instead of "stable" – sojin Oct 24 '21 at 05:42
2 Answers
0
Install NVM and desired versions of Node, after installing them you can choose any Node versions from the installed list and you can change the Node version in which your project wants to run.
In your case after installing nvm and Node 14.xx, try nvm use 14.xx or else your desired version. This will change to Node 14.xx version.
You can install NVM by going through this link https://github.com/nvm-sh/nvm and after that you can install node versions through NVM itself.

lokprakash
- 420
- 3
- 9
0
I think this question will help you understand better.
How to change to an older version of Node.js
Just use your version instead of the older version.

Syeda Aeimen Bukhari
- 26
- 3
-
Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Oct 24 '21 at 07:16