Add the copied path to the list of existing paths there.Search for Edit the system environment variables in Cortana search.Copy the path to that file (e.g., C:\Users\erajendr\bin\node.exe).Save that 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).If you want to do it by using the file you already downloaded, what you can do is: nvm install 14Äownload the msi installer from the website Previous Releases page if you want a specific older version.
Repeat the above command with the different-2 node.js versions to install multiple versions of node.js on your system. Below command will install node.js 16.14.0 the LTS release on your system. Set the Destination Folder where you want to install Node.js & Select Next Custom Setup. Now install the node.js version you need to use for running the node.js application. Check I accept the terms in the License Agreement Select Next Destination Folder. You can use nvm to keep multiple versions of node and toggle between them when needed. Select Next After clicking Next, End-User License Agreement (EULA) will open. Enter the following command in your Terminal to execute. nvm provides a script that handles the download and installation of nvm.
How to do it In this recipe, were going to be installing Node.js 14 using nvm: First, we need to install nvm. The output should look similar like this: The last line says now using node v14.7.0, which means that nvm is set to use Node.js version 14.7.0.We can verify by typing node -version. There can be many ways to install node into your Windows machine. If youre on Windows, it should be run under Windows Subsystem for Linux (WSL).
So, you get an executable file when you download it? You might have downloaded the zip archive instead of the installer.