To have different versions of Node.js in Windows 10, you can follow these steps:
1- Download and install NVM (Node Version Manager) for Windows from its official website: https://github.com/coreybutler/nvm-windows/releases
2 -After installation, open the Windows terminal (CMD or PowerShell) and type the following command to install the latest stable version of Node.js:
nvm install node
3 -To install a specific version of Node.js, use the following command in the terminal, replacing "X.X.X" with the version you want to install:
nvm install X.X.X
4 -To switch between different versions of Node.js, use the following command in the terminal:
nvm use X.X.X
5 -If you need to list the versions of Node.js that you have installed, use the following command in the terminal:
nvm ls
With these steps, you should be able to have different versions of Node.js on your Windows 10 system.
This is all, I´m wait your comment.
Comments
Post a Comment