当前位置:网站首页>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.6
Introduction to nrm
1. Installation
npm install -g nrm
2. 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 MVVM 语义耦合
server
ERC721标准与加密猫
win10 uwp MVVM 轻量框架
CAN光纤转换器CAN光端机解决消防火灾报警
limux入门3—磁盘与分区管理
win10 uwp MetroLog 入门
火灾报警联网FC18中CAN光端机常见问题解答和使用指导
ATF中断处理的设计模型
BigDecimal 使用注意!!“别踩坑”
MMDetection usage example: from entry to exit
Dragoma(DMA)元宇宙系统开发
IDEA 自动导入的配置(Auto import)
openharmony初体验(1)
[Distributed Advanced] Let's fill in those pits in Redis distributed locks.
译文推荐|Apache Pulsar 隔离系列(四):单集群隔离策略
win10 uwp json
WPF 元素裁剪 Clip 属性
ACP-Cloud Computing By Wakin自用笔记(2)CPU和内存虚拟化
猜数字游戏