当前位置:网站首页>Download, install and use Nvm
Download, install and use Nvm
2022-08-07 00:32:00 【~Front end small siege lion】
1. Download
The download address is: https://github.com/coreybutler/nvm-windows/releases/tag/1.1.9
2. Installation
It doesn't matter if you have installed node.js before. After setting the node installation location here, open Nvm and you will be prompted whether to add the current version to the management, and it will help you move to the storage location you set.
(1) Select the storage location of Nvm

(2) Set the storage location of Node.js

3. Configuration environment
(1) Open System Variables
(2) Add the environment variable of Nvm.


(3) Finally, add the environment to Path.

4. Use
4.1 Check if the installation is successful
Enter nvm -v, if the following figure pops up, the installation is successful!
Common nvm commands
Command 1 nvm list
(display all versions currently managed by nvm)
Command 2 nvm install xx.xx.xx
(download the corresponding npm/node.js version, download node.js will have built-in npm without repeated download, the version correspondence between npm and node.js can be found at the following address:)
https://nodejs.org/zh-cn/download/releases/
Command 3 nvm use xx.xx.xx
(switch node.js version, as follows)
Command 4nvm list available
(shows all installable node versions)
5. Questions
5.1 problem one: switch version error

5.2 cannot be installed according to other versions

Solution:
1. Find settings.txt under the installation directory of nvm, open and add the following content:
node_mirror:npm.taobao.org/mirrors/node/
npm_mirror:npm.taobao.org/mirrors/npm/

Then install again
边栏推荐
- How is the Service started?tell you
- 04 多线程与高并发 - ReentrantReadWriteLock 源码解析
- 对比学习模型小抄(1)
- [7] Advanced C language -- program compilation (preprocessing operation) + linking
- Public Relations Exam Questions and Reference Answers
- leetcode 19. 删除链表的倒数第 N 个结点
- gorm 无法更新带有外键的字段
- vi学习(2)【常用命令包括移动光标/选中文本/撤销和反撤销/删除文本/复制粘贴/查找替换/插入】
- 【使用JDBC对数据库表进行操作】
- 部署LVS-DR群集
猜你喜欢

Detailed explanation of C51 basic functions, interrupt functions and library functions

【字符串中处理类String的使用】

vi学习(2)【常用命令包括移动光标/选中文本/撤销和反撤销/删除文本/复制粘贴/查找替换/插入】

申请google drive api并使用rclone挂载团队盘为本地磁盘

新库上线 | CnOpenData 新三板公司专利及引用被引用数据

关闭Win10自动更新

Flutter APNS device token not set before retrieving FCM Token for Sender ID

What is the best book to read for self-study software testing?

NAT穿越技术详细介绍
![[7] Advanced C language -- program compilation (preprocessing operation) + linking](/img/bf/fc81f3dc354e78712be9a6064a929f.png)
[7] Advanced C language -- program compilation (preprocessing operation) + linking
随机推荐
Zscoder‘s 生成函数教程(三)
自学软件测试看什么书入门比较好呢?
双指针——移除元素
union联合体的理解(接上篇数据类型float)
jvm summary
logcat: Solution for Unexpected EOF!
view function index questions
express学习30-多人管理22验证joi
学习jsEs6中Symbol
Introduction to Ftrace function graph
MySQL操作之DQL
对比学习模型小抄(1)
Vi learning (3) the split screen command 】 to be perfect
TIDB-PD-RECOVER的恢复方式
多项式——多项式牛顿迭代
通达信买股票佣金最低是多少?开户安全吗?
NAT穿越技术详细介绍
Web version MC server construction + localization
Are automated tests really needed?
实时图计算如何进行风控决策管理?