nvm常用指令汇总
nvm是用来管理nodejs的,可以方便安装、切换、卸载当前环境的node版本。
以下是常用指令汇总:
-
nvm list
查看本机已经安装的node版本。*
表示当前系统正在使用的node版本
-
nvm install xx.xx.x
后边加版本号,表示安装指定的版本
-
nvm use xx.xx.x
当前系统使用指定版本
-
nvm uninstall xx.xx.x
卸载指定版本
-
nvm --help
可以查看所有的nvm指令
nvm是用来管理nodejs的,可以方便安装、切换、卸载当前环境的node版本。
以下是常用指令汇总:
nvm list
查看本机已经安装的node版本。*
表示当前系统正在使用的node版本
nvm install xx.xx.x
后边加版本号,表示安装指定的版本
nvm use xx.xx.x
当前系统使用指定版本
nvm uninstall xx.xx.x
卸载指定版本
nvm --help
可以查看所有的nvm指令