当前位置:网站首页>Switch node version and switch npm source tool
Switch node version and switch npm source tool
2022-08-04 19:03:00 【I'm not skinny but funny】
When the node version required by the project is different, nvm can be used to install and switch different versions of node
nvm use
Tools for managing node versions
1. Installation
windows installation address
Click here for other installation methods
2. Use
$ nvm use 16Now using node v16.9.1 (npm v7.21.1)$ node -vv16.9.1$ nvm use 14Now using node v14.18.0 (npm v6.14.15)$ node -vv14.18.0$ nvm install 12Now using node v12.22.6 (npm v6.14.5)$ node -vv12.22.6Introduction to nrm
1. Installation
npm install -g nrm2. Use
nrm ls //View optional sources, the model represents the currently used source (locally installed like the nvm list command)nrm use //Switch sourcenrm add //Add source边栏推荐
猜你喜欢
随机推荐
win10 uwp 使用 Geometry resources 在 xaml
路由技术
2022年7月国产数据库大事记
Day018 Inheritance
MySQL安装教程(详细)
openharmony初体验(1)
如何理解 SAP UI5 的 sap.ui.define 函数
网络运维管理从基础到实战-自用笔记(1)构建综合园区网、接入互联网
八一建军节 | 致敬中国人民解放军
ros2订阅esp32发布的电池电压数据
数据库治理的探索与实践
基于3D机器视觉的采血试管分拣系统
如何进行自动化测试?【Eolink分享】
如何给MySQL添加自定义语法 ?
mq消息积压怎么对应
Win10只读文件夹怎么删除
如何进行自动化测试?
入选爱分析·银行数字化厂商全景报告,网易数帆助力金融数字化场景落地
切换node版本和切换npm源工具
量化交易机器人系统开发









