当前位置:网站首页>View source and switch mirrors in two ways: npm and nrm
View source and switch mirrors in two ways: npm and nrm
2022-08-02 06:44:00 【m0_67393413】
First, use npm to view the current source, switch Taobao mirror, switch official source
(1) npm view the current source:
npm get registry(2) npm set Taobao mirror source:
npm config set registry http://registry.npm.taobao.org(3) npm set the official source:
npm config set registry http://www.npmjs.orgSecond, use nrm to view and switch mirrors
1. First install nrm through npm:
npm install -g nrm2. View and switch mirror sources through nrm (command): nrm ls
Note: The * below indicates when the source is currently in use,
* npm -------- https://registry.npmjs.org/yarn ------- https://registry.yarnpkg.com/cnpm ------- http://r.cnpmjs.org/taobao ----- https://registry.npm.taobao.org/nj --------- https://registry.nodejitsu.com/npmMirror -- https://skimdb.npmjs.com/registry/edunpm ----- http://registry.enpmjs.org/3. If you want to use a certain one, use it directly. For example, I want to use the source of Taobao mirror:
nrm use taobaoThe following prompt appears, indicating that the switch is successful!

4. If the following popular situation occurs: it may be that nrm is not installed globally, npm install -g nrm.Remember to add -g
If you have any questions, please correct me!!!
Let me introduce myself first. The editor graduated from Shanghai Jiaotong University in 2013. I worked in a small company and went to big factories such as Huawei and OPPO. I joined Alibaba in 2018, until now.I know that most junior and intermediate java engineers want to upgrade their skills, they often need to explore their own growth or sign up to study, but for training institutions, the tuition fee is nearly 10,000 yuan, which is really stressful.Self-learning that is not systematic is very inefficient and lengthy, and it is easy to hit the ceiling and the technology stops.Therefore, I collected a "full set of learning materials for java development" for everyone. The original intention is also very simple. I hope to help friends who want to learn by themselves but don't know where to start, and at the same time reduce everyone's burden.Add the business card below to get a full set of learning materials
边栏推荐
- Linux CentOS8安装Redis6
- eggjs controller层调用controller层解决方案
- 家用 NAS 服务器(4)| MergerFS和SnapRaid数据定时备份
- Redis(十二) - Redis消息队列
- 目标检测重要概念——IOU、感受野、空洞卷积、mAP
- 国际顶会OSDI首度收录淘宝系统论文,端云协同智能获大会主旨演讲推荐
- MySQL联合查询(多表查询)
- Stress testing and performance analysis of node projects
- Guarantee WIFI security in home and enterprise-with AC and AP networking experiment
- pytorch基本操作:使用神经网络进行分类任务
猜你喜欢

Redis-cluster mode (master-slave replication mode, sentinel mode, clustering mode)

股价屡创新低 地产SaaS巨头陷入困境 明源云该如何转型自救?

There are more and more talents in software testing. Why are people still reluctant to take the road of software testing?

pl/sql之神奇的嵌套与变量生命周期

51 MCU peripherals: ADC

机器学习——支持向量机原理

HCIP第十七天

Polar Parametrization for Vision-based Surround-View 3D Detection Paper Notes

双重for循环案例(用js打印九九乘法表)

Different ways of shell scripting
随机推荐
Polar Parametrization for Vision-based Surround-View 3D Detection 论文笔记
51 microcontroller peripherals article: dot-matrix LCD
C语言入门实战(13):十进制数转二进制
直播系统聊天技术(八):vivo直播系统中IM消息模块的架构实践
洛谷小游戏大全(用洛谷的人都得知道)
The advantages of making web3d dynamic product display
Not annotated parameter overrides @NonNullApi parameter
OAuth 授权协议 | 都云原生时代了,我们应该多懂一点OAuth ?
Luogu mini game Daquan (everyone who uses Luogu must know)
【漫画】2021满分程序员行为对照表(最新版)
pl/sql之神奇的嵌套与变量生命周期
zabbix邮件报警和微信报警
5款经典代码阅读器的使用方案对比
Write implicit join on view with jOOQ 3.14 synthetic foreign key
如何优化OpenSumi终端性能?
分布式文件存储服务器之Minio对象存储技术参考指南
Nacos客户端启动出现9848端口错误分析(非版本升级问题)
pytorch基本操作:使用神经网络进行分类任务
Block elements, inline elements (
elements, span elements)代码编世界 科技创未来