node version manager nvm

  1. Download and install nvm from the official website

  1. Configure environment variables after installation is complete

  1. nvm version Check whether nvm is installed successfully

Some basic commands of nvm
  1. nvm version: View version

  1. nvm list available: View node versions that can be installed

  1. nvm list: View installed node versions

  1. nvm install 12.17.0 (specific version number): Download the node version

  1. nvm uninstall version number: download node version

  1. nvm current: View the current node version

  1. nvm use version number: switch node version

  1. nvm on/off: nvm enable/disable

......wait

Summary of related errors during use

There is a permission issue with garbled characters. The problem can be solved by switching versions under administrator permissions.

Guess you like

Origin blog.csdn.net/weixin_49336005/article/details/129555220