nvm Relevant command
nvm Information
nvm github Address
Common command address -- Third-party blog
download
install
- Like any other application installation , Uninstall the installed before installing node Applications , Then install , When installing, select nvm Application installation directory and nodejs Installation directory .
- You need to put nvm Install in a directory without spaces or other special characters , It is recommended to install in the root directory , Otherwise, an error will be reported .
- After installation nvm -v, Can print the version normally , Installation succeeded .
nvm control node
1. nvm install v14.2.0: install node 14.2.0 edition
2. nvm ls: List all installed node edition
3. nvm current/-v: see nvm edition
4. nvm use v14.2.0: Switch node edition
5. nvm ls-remote: List all the... That can be installed node Version number
install node explain
In the installation node Download will be slow when the download time, please in nvm Install under directory setting.txt Use images in files Just copy it in
node_mirror: https://npm.taobao.org/mirror...
npm_mirror: https://npm.taobao.org/mirror...