当前位置:网站首页>View source and switch mirrors in two ways: npm and nrm
View source and switch mirrors in two ways: npm and nrm
2022-07-31 04:30:00 【Prostitute the leader】
一、使用npm查看当前源、切换淘宝镜像、切换官方源
(1)npm查看当前源:
npm get registry
(2)npm设置淘宝镜像源:
npm config set registry http://registry.npm.taobao.org
(3)npm设置官方源:
npm config set registry http://www.npmjs.org
二、使用nrmView and switch mirrors
1、安装nvm,之后才可以使用nrm命令
Specifically how to install everyone can Baidu
2、通过nrmView and switch mirror sources(命令):nrm ls
注意:下面的 * 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,For example, I want to use the source of Taobao mirror:
nrm use taobao
The following prompt appears, indicating that the switch is successful!
边栏推荐
- (6) Enumeration and annotation
- (Line segment tree) Summary of common problems of basic line segment tree
- C language from entry to such as soil, the data store
- No qualifying bean of type question
- Pytest e-commerce project combat (on)
- Fusion Cloud Native, Empowering New Milestones | 2022 Open Atom Global Open Source Summit Cloud Native Sub-Forum Successfully Held
- $parent/$children and ref
- mysql基础知识(二)
- Industry-university-research application to build an open source talent ecosystem | 2022 Open Atom Global Open Source Summit Education Sub-Forum was successfully held
- 【线性神经网络】softmax回归
猜你喜欢
The idea project obviously has dependencies, but the file is not displayed, Cannot resolve symbol 'XXX'
产学研用 共建开源人才生态 | 2022开放原子全球开源峰会教育分论坛圆满召开
从零开始,一镜到底,纯净系统搭建除草机(Grasscutter)
How Zotero removes auto-generated tags
手把手实现图片预览插件(三)
STM32HAL库修改Hal_Delay为us级延时
Hand in hand to realize the picture preview plug-in (3)
WeChat applet uses cloud functions to update and add cloud database nested array elements
MySQL数据库安装配置保姆级教程(以8.0.29为例)有手就行
Solved (the latest version of selenium framework element positioning error) NameError: name 'By' is not defined
随机推荐
XSS靶场(三)prompt to win
Safety 20220722
type_traits metaprogramming library learning
prompt.ml/15中<svg>标签使用解释
Safety 20220712
The idea project obviously has dependencies, but the file is not displayed, Cannot resolve symbol 'XXX'
Redis counts new and retained users
exsl文件预览,word文件预览网页方法
Unity2D 自定义Scriptable Tiles的理解与使用(四)——开始着手构建一个基于Tile类的自定义tile(下)
binom二项分布,
聚变云原生,赋能新里程 | 2022开放原子全球开源峰会云原生分论坛圆满召开
Redis uses sorted set to cache latest comments
pom文件成橘红色未加载的解决方案
Component pass value provide/inject
Why don't you programmers make a living off your own projects?And have to work for someone else?
mysql基础知识(二)
三子棋的代码实现
Win10 CUDA CUDNN 安装配置(torch paddlepaddle)
Go语学习笔记 - 处理超时问题 - Context使用 | 从零开始Go语言
(六)枚举、注解