macOS Big Sur(11.4)安装指定版本Node # 安装配置 Node Version Manager,用来管理安装使用特定版本 $ git clone https://github.com/nvm-sh/nvm.git $ cd nvm $ bash install.sh # 刷新环境变量,使得设置生效 $ source ~/.bashrc $ nvm install 12.16.2 $ nvm use 12.16.2 12345678910111213 # 安装配置 Node Version Manager,用来管理安装使用特定版本$ git clone https://github.com/nvm-sh/nvm.git $ cd nvm $ bash install.sh # 刷新环境变量,使得设置生效$ source ~/.bashrc $ nvm install 12.16.2 $ nvm use 12.16.2 参考链接 nvm-sh/nvm Node版本的升级和降级 发布者 默默 码农 查看默默的所有文章