nvmnvm is responsible for managing multiple versions of nodejs Install: https://github.com/coreybutler/nvm-windows/releases Click nvm-setup.exe to install, and then click Next. Install to C:\dev\nvm. After the installation is complete, the environment variables NVM_HOME and NVM_SYMLINK are automatically configured and added to Path. Verify whether the installation is successful and open the command line cmd Commonly used commands of nvm nvm list View all currently installed Node.js versions Command Case Operation# Install version 7.10.0 C:\Users\vagrant>nvm install 7.10.0 Downloading node.js version 7.10.0 (64-bit)... Complete Creating C:\dev\nvm\temp Downloading npm version 4.2.0... Complete Installing npm v4.2.0... Installation complete. If you want to use this version, type nvm use 7.10.0 # Install version 6.10.3 C:\Users\vagrant>nvm install 6.10.3 Downloading node.js version 6.10.3 (64-bit)... Complete Creating C:\dev\nvm\temp Downloading npm version 3.10.10... Complete Installing npm v3.10.10... Installation complete. If you want to use this version, type nvm use 6.10.3 # Display the currently installed version C:\Users\vagrant>nvm list 7.10.0 6.10.3 C:\Users\vagrant> # Switch to version 7.10.0 C:\Users\vagrant>nvm use 7.10.0 Now using node v7.10.0 (64-bit) C:\Users\vagrant>nvm list * 7.10.0 (Currently using 64-bit executable) 6.10.3 # View the nodejs version currently used C:\Users\vagrant>node -v v7.10.0 # Switch version C:\Users\vagrant>nvm use 6.10.3 Now using node v6.10.3 (64-bit) C:\Users\vagrant>nvm list 7.10.0 * 6.10.3 (Currently using 64-bit executable) Switching versions is essentially switching shortcuts The above is the detailed content of the detailed installation process of the nodejs management tool nvm. For more information about nodejs nvm installation, please pay attention to other related articles on 123WORDPRESS.COM! You may also be interested in:
|
<<: Two ideas for implementing database horizontal segmentation
>>: CentOS7 upgrade kernel kernel5.0 version
I have always wondered why the MySQL database tim...
Table of contents 1. Software Package 2. Install ...
background During the project development process...
This article describes the support and problem so...
The :not pseudo-class selector can filter element...
Table of contents cache Cache location classifica...
After minimizing the installation of Python8, I i...
Table of contents Problem Description Principle A...
Hello everyone, I wonder if you have the same con...
Recently, when I was using the Linux operating sy...
This rookie encountered such a problem when he ju...
The detailed steps for installing mysql5.7.19 on ...
<br />I have compiled some domestic design w...
1. What is responsive design? Responsive design i...
Import and export of Docker images This article i...