'How to install Node 14 version on windows
I want to install Node.js version 14 on Windows but it is not installing instead it is showing below screen.
But when I try to install Node.js v17, it is opening installation wizard by which I can install Node.js but this is not happening for Node.js 14. How can I install Node.js v14? I downloaded the exe from https://nodejs.org/en/blog/release/v14.17.3/
Solution 1:[1]
If you've downloaded the exe
, there's no installation needed - you already have the executable, and as you can see, it's operational - when you run it, you get Node.js' REPL.
If you want to "properly" install Node.js you could download and run the MSI from the link instead of the exe.
Solution 2:[2]
It is easier to use nvm for node installation. It allows you to quickly install and use different versions of node via the command line
It is available on Linux/Mac and Windows
You can find the setup file in the releases section and install it
To install node v14 you just need to execute 2 comands
nvm install 14
nvm use 14
Solution 3:[3]
So, you get an executable file when you download it? You might have downloaded the zip archive
instead of the installer. There can be many ways to install node into your Windows machine.
Using nvm (recommended)
You can use nvm
to keep multiple versions of node and toggle between them when needed.
nvm install 14
nvm use 14
Ref: NVM Readme
Using MSI Installer
Download the msi
installer from the website Previous Releases page if you want a specific older version. Here is a link for v14.18.2-x64.
Using Zip Archive (the hard way)
If you want to do it by using the file you already downloaded, what you can do is:
- Save that
exe
file to a specific location you want (It is recommended to save all the executable binaries inbin
directory in yourUser
directory, similar to how we do in Linux systems). - Copy the path to that file (e.g.,
C:\Users\erajendr\bin\node.exe
). - Search for Edit the system environment variables in Cortana search.
- Look for a variable with name "Path".
- Double click on the variable.
- Add the copied path to the list of existing paths there.
You can test if this works by typing node
in a fresh new terminal/cmd.
Solution 4:[4]
For Node 14 version Ref: https://nodejs.org/download/release/v14.0.0/
For all node versions Ref: https://nodejs.org/en/download/releases/
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Mureinik |
Solution 2 | David |
Solution 3 | |
Solution 4 |