node版本环境配置

node版本环境配置

1. 安装nvm

1
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash

2. 安装node

安装最新版LTS

1
nvm install --lts

列出已安装的 Node.js 版本‌:

1
nvm ls

‌切换到特定版本的 Node.js‌:

1
nvm use 14

node版本环境配置
https://hanke-janson.github.io//blog/2025/07/15/node版本环境配置/
作者
雾月山河
发布于
2025年7月15日
许可协议