Reputation: 1083
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/
Upvotes: 15
Views: 107948
Reputation: 752
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.
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
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:
exe
file to a specific location you want (It is recommended to save all the executable binaries in bin
directory in your User
directory, similar to how we do in Linux systems).C:\Users\erajendr\bin\node.exe
).You can test if this works by typing node
in a fresh new terminal/cmd.
Ref: How to add Path in Windows 10
Upvotes: 1
Reputation: 864
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
Upvotes: 18
Reputation: 311188
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.
Upvotes: 2