nvm(nodejs版本管理器)安装
type
status
date
slug
summary
tags
category
icon
password
注意事项:
1、不能安装任何node版本(如存在请删除后安装nvm);
安装步骤:
1、下载nvm

解压后点击exe文件进行安装:
(1)同意相关协议内容:

2、点击下一步安装到 D:\\NVM 下

3、创建nodejs文件放在D:\NVM 下

4、点击next 一直点击 完成安装;
5、找到指定nvm打开后:

给该文件添加这两行命令:
环境变量配置:
点击计算机
右击点击属性
选择高级系统设置

点击环境变量

查看环境变量是否配置:
与如下配置(保持一致):
用户环境:

系统变量:

测试:

nvm -v 查看当前版本
nvm --config
nvm list 查看已安装node版本列表
nvm install 版本号 下载对应node版本
nvm use 版本号 切换node版本
nvm on 开启nvm
nvm off 关闭nvm
Last update: 2023-07-25
type
status
date
slug
summary
tags
category
icon
password
这里是关于我笔记,希望你能获取到你想要的知识 🧐
