Node 使用手册

Posted by 谌中钱 on 2025-05-08

1 Node环境安装

2 Windows 11

 1# 安装最新稳定版Node
 2nvm install --lts
 3
 4# 查看已安装列表
 5nvm list
 6#     24.14.1
 7#   * 24.11.1 (Currently using 64-bit executable)
 8
 9# 使用指定版本
10nvm use 24.14.1
11
12# 卸载指定版本
13nvm uninstall 24.11.1
14
15# 安装 pnpm
16npm install pnpm
17# 设置存储目录
18pnpm config set store-dir D:\dev\env\env\nvm\.pnpm-store