Languages
[Edit]
EN

Node.js - install selected node version under Windows

5 points
Created by:
Kenya-Spears
860

In this short article, we would like to show how to install desired version of the Node.js and npm under Windows.

Simple steps

1. install nvm command​​​

Avaialbe releases: https://github.com/coreybutler/nvm-windows/releases

Direct link: https://github.com/coreybutler/nvm-windows/releases/download/1.1.10/nvm-setup.exe

Hint: re-run command line if nvm command is not available after nvm-setup.exe installation.

 

2. list available versions

Type in the command line:

nvm list available

Example output:

|   CURRENT    |     LTS      |  OLD STABLE  | OLD UNSTABLE |
|--------------|--------------|--------------|--------------|
|    17.8.0    |   16.14.2    |   0.12.18    |   0.11.16    |
|    17.7.2    |   16.14.1    |   0.12.17    |   0.11.15    |
|    17.7.1    |   16.14.0    |   0.12.16    |   0.11.14    |
|    17.7.0    |   16.13.2    |   0.12.15    |   0.11.13    |
|    17.6.0    |   16.13.1    |   0.12.14    |   0.11.12    |
|    17.5.0    |   16.13.0    |   0.12.13    |   0.11.11    |
|    17.4.0    |   14.19.1    |   0.12.12    |   0.11.10    |
|    17.3.1    |   14.19.0    |   0.12.11    |    0.11.9    |
|    17.3.0    |   14.18.3    |   0.12.10    |    0.11.8    |
|    17.2.0    |   14.18.2    |    0.12.9    |    0.11.7    |
|    17.1.0    |   14.18.1    |    0.12.8    |    0.11.6    |
|    17.0.1    |   14.18.0    |    0.12.7    |    0.11.5    |
|    17.0.0    |   14.17.6    |    0.12.6    |    0.11.4    |
|   16.12.0    |   14.17.5    |    0.12.5    |    0.11.3    |
|   16.11.1    |   14.17.4    |    0.12.4    |    0.11.2    |
|   16.11.0    |   14.17.3    |    0.12.3    |    0.11.1    |
|   16.10.0    |   14.17.2    |    0.12.2    |    0.11.0    |
|    16.9.1    |   14.17.1    |    0.12.1    |    0.9.12    |
|    16.9.0    |   14.17.0    |    0.12.0    |    0.9.11    |
|    16.8.0    |   14.16.1    |   0.10.48    |    0.9.10    |

Note: to list installed versions use: nvm list installed (currently used version will be marked with * character).

 

3. install selected Node.js version:

Open command line as administrator and run the following commands:

nvm install v17.8.0
nvm use v17.8.0

node -v

Example output:

v17.8.0

 

See also

  1. Windows - open command prompt as administrator

  2. Node - install selected Node.js and nvm version under Debian / Ubuntu

References

  1. nvm-windows project - GitHub

Alternative titles

  1. Node.js - change node version under Windows
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join