当前位置:网站首页>Installation steps and usage of NVM under windows10 system
Installation steps and usage of NVM under windows10 system
2022-07-25 17:33:00 【Yisu cloud】
window10 Under the system nvm Installation steps and usage of
This article is for you to know window10 Under the system nvm Installation steps and usage of . It has certain reference value , Friends in need can refer to , I hope that's helpful .
Catalog
Preface
win10 nvm Installation and use
summary
Preface
nvm It's a management nodejs Version of the tool . In actual development , The development of some projects depends on the need for lower versions nodejs Running environment , We need to use nvm To reduce nodejs edition .
win10 nvm Installation and use
1. Download and install nvm, First, the installation directory should be free of spaces and Chinese , There will be garbled code
Download address :
https://github.com/coreybutler/nvm-windows/releases

2. Unzip and install , The default installation path is C disc , If C If the disk memory is insufficient, you can install it to D disc , Generally, I install to D On the disk .

3. Change environment variables , Generally, the environment variables will be set automatically after installation , however NVM_SYMLINK You need to add an empty directory file for storage npm package

NVM_HOME Should be nvm Installation directory ,D:\SoftWare\nvm\nvm
NVM_SYMLINK Should be nvm Installation directory of plus "\nodejs", Note that both user variables and system variables need to be changed , Then determine - determine - determine . The following figure shows the directory of my installation :
D:\SoftWare\nvm\nvm\nodejs

4. stay nvm Open under installation path cmd perhaps git bash, If you open it in another path, an error will be reported , If there is nvm: commond not found( restart ! restart ! restart !)
5.nvm -v // see nvm edition , Determine if the installation is successful

You can use the following command , Conduct node Version installation , Replace
nvm list // View installed nodejs edition nvm on // Enable node.js version management nvm off // Ban node.js version management ( Don't unload anything )nvm install <version> // install node.js The name of version It's the version number for example :nvm install 8.12.0nvm use <version> // Use a version Of nodejsnvm uninstall <version> // Uninstall the specified version of nodejs
stay settings Add two lines of code , Adopt Taobao image :

node_mirror: https://npm.taobao.org/mirrors/node/npm_mirror: https://npm.taobao.org/mirrors/npm/
PS: If reported status145: The statement , Turn off the cmd, Run as administrator again cmd, perform nvm use XXX that will do .
attach : Common commands

That's all window10 Under the system nvm A brief introduction to the installation steps and use methods of , Of course, we have to use the above differences in detail before we can understand . If you want to know more , Welcome to the Yisu cloud industry information channel !
边栏推荐
- Update 3dcat real time cloud rendering V2.1.2 release
- 爬虫框架-crawler
- 11. Camera and lens
- 哈夫曼树的构建
- Starting from business needs, open the road of efficient IDC operation and maintenance
- Enumeration classes and magic values
- Tkinter module advanced operations (I) -- transparent buttons, transparent text boxes, custom buttons and custom text boxes
- 双向链表的基本操作
- 02.两数相加
- STM32 PAJ7620U2手势识别模块(IIC通信)程序源码详解
猜你喜欢

Thesis reading_ Multi task learning_ MMoE

Virtual memory management

window10系统下nvm的安装步骤以及使用方法

论文阅读_多任务学习_MMoE

Wu Enda logistic regression 2

Postdoctoral recruitment | West Lake University Machine Intelligence Laboratory recruitment postdoctoral / Assistant Researcher / scientific research assistant

【解决方案】Microsoft Edge 浏览器 出现“无法访问该页面”问题

Using rank to discuss the solution of linear equations / the positional relationship of three planes

Technical difficulties and applications of large humanoid robots

ACL 2022 | 基于最优传输的对比学习实现可解释的语义文本相似性
随机推荐
EasyUI drop-down box, add and put on and off shelves of products
EDI 对接CommerceHub OrderStream
ROS learning notes (IV) ROS cannot solve rosdep init or update
Redis源码与设计剖析 -- 15.RDB持久化机制
自动化测试 PO设计模型
Function name pointer and function pointer
Redis源码与设计剖析 -- 18.Redis网络连接库分析
带你初步了解多方安全计算(MPC)
Enumeration classes and magic values
new与malloc
Starting from business needs, open the road of efficient IDC operation and maintenance
I'm also drunk. Eureka delayed registration and this pit!
我也是醉了,Eureka 延迟注册还有这个坑!
[vscode] support argparser/ accept command line parameters
How to fix the first row title when scrolling down in Excel table / WPS table?
生成扩散模型漫谈:DDPM = 贝叶斯 + 去噪
03.无重复字符的最长子串
Redis cluster deployment based on redis6.2.4
我们被一个 kong 的性能 bug 折腾了一个通宵
Add batch delete