企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# nvm不同版本node切换 ``` <pre class="calibre18">``` nvm list available 查看可用版本 添加国内镜像<span class="token2">,</span>nvm安装目录settings<span class="token2">.</span>txt文件内添加 node_mirror<span class="token2">:</span> https<span class="token2">:</span><span class="token">/</span><span class="token">/</span>npm<span class="token2">.</span>taobao<span class="token2">.</span>org<span class="token">/</span>mirrors<span class="token">/</span>node<span class="token">/</span> npm_mirror<span class="token2">:</span> https<span class="token2">:</span><span class="token">/</span><span class="token">/</span>npm<span class="token2">.</span>taobao<span class="token2">.</span>org<span class="token">/</span>mirrors<span class="token">/</span>npm<span class="token">/</span> nvm install <span class="token3">8.1</span><span class="token3">.1</span> 安装 nvm uninstall <span class="token3">8.1</span><span class="token3">.1</span> 卸载 nvm use <span class="token3">8.1</span><span class="token3">.1</span> 切换版本<span class="token2">,</span>必须指定版本<span class="token2">,</span>这样会有一个快捷版本 nvm ls 列出安装版本 ``` ```