Home » Development » How to use nodejs specific version

Many times due to project or required platform requirements we have to use a specific version of nodejs.

Here you can find list of node versions https://nodejs.org/en/download/releases

So below is an example where you can install and use a specific nodejs version

One way is to use NVM, the Node Version Manager.

Use the following command to get nvm

nvm install 14.21.3 Download and install a eg. nvm i 14.21.3
nvm ls List versions (installed versions are blue)
nvm use 14.21.3 Modify PATH to use

Option 2

Uninstall nodejs from window control panel

Download specific nodejs version from archive

https://nodejs.org/en/blog/release/v14.21.3

Install nodejs executable file and use it

Array ( [0] => Development )