当前位置:网站首页>nvm

nvm

2020-11-08 01:32:13 Heart talk bouquet

nvm Relevant command

nvm Information

nvm github Address
Common command address -- Third-party blog

download

Download address

install

  1. 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 .
  2. 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 .
  3. 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...

版权声明
本文为[Heart talk bouquet]所创,转载请带上原文链接,感谢