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/
CodePudding user response:
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.
CodePudding user response:
So, you get an executable file when you download it? You might have downloaded the zip archive
instead of the 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.
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.