当前位置:网站首页>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边栏推荐
- 火灾报警联网FC18中CAN光端机常见问题解答和使用指导
- JS: 数组和树的相互转换
- 如何进行自动化测试?
- openharmony代码框架初识(2)
- The CPU suddenly soars and the system responds slowly, what is the cause?Is there any way to check?
- VPC2187/8 current mode PWM controller 4-100VIN ultra-wide voltage startup, highly integrated power control chip recommended
- 工业相机CCD与CMOS
- win10 uwp MVVM 轻量框架
- 判断字符串中是否包含中文
- 《学会写作》粥佐罗著
猜你喜欢
随机推荐
基于YOLOV5行人跌倒检测实验
Kubernetes入门到精通- Operator 模式入门
浅谈web网站架构演变过程
MySQL安装教程(详细)
IDEA 自动导入的配置(Auto import)
什么是内部客户服务?
Win10只读文件夹怎么删除
【填空题】130道面试填空题
路由技术
测试/开发程序员男都秃头?女都满脸痘痘?过好我们“短暂“的一生......
CAN光纤转换器CAN光端机解决消防火灾报警
迪赛智慧数——其他图表(主题河流图):近年居民消费、储蓄、投资意愿
百度智能云重庆工业互联网平台正式亮相,深耕重庆,辐射西南
HCIP-R&S By Wakin自用笔记(1)企业网络高级解决方案
在线生成接口文档
存储资源盘活系统助力新基建
自己经常使用的三种调试:Pycharm、Vscode、pdb调试
server
如何搭建 RADIUS 云服务器?
lc marathon 8.3








