NVM相关命令

32 阅读1分钟
  • nvm -v:查看nvm是否安装完成
  • nvm list available:列出所有已经在NVM中安装的NodeJS版本
  • nvm install xx.xx.xx:安装指定NodeJS版本
  • nvm ls:列出所有已经在nvm中安装的NodeJS版本
  • nvm use xx.xx.xx:指定使用nodeJS版本
  • nvm current: 查看当前使用的NodeJS版本