Install multiple NodeJS Install multiple Nodejs versions on windows to solve the problem of vue2/vue3 running at the same time

The first step is to download nvm-windows
nvm-windows download address: Github latest download address

Download directly after entering

Step 2 Install NVM

Note that the path must not contain spaces in Chinese otherwise an error will be reported.

After clicking to install, if you have installed nodejs before, you will be prompted. Do you want nvm management to have installed the node version? Click Yes.

After the installation is completed, open cmd and enter nvm -v to test. If the display shown in the figure below indicates that the installation is successful,


nvm common commands (switch nodejs version)
The main commands used after success are
nvm list (will return all current node versions and The currently used node version will be marked)

nvm use version number (use this command to switch the nodejs version. Example: nvm use 10.13.1)

nvm uninstall version number (uninstall the specified version of nodejs)
nvm install version number (install the specified version)
—————— ——————————
Copyright statement: This article is an original article by CSDN blogger "Web_Lys" and follows the CC 4.0 BY-SA copyright agreement. Please attach a link to the original source for reprinting and this Statement.
Original link: https://blog.csdn.net/lys20000913/article/details/121876355

Guess you like

Origin blog.csdn.net/jyf_568/article/details/130418495