当前位置:网站首页>NPM淘宝镜像(最新版本)于2021-11-21 16:53:52发布新版本npm镜像[通俗易懂]
NPM淘宝镜像(最新版本)于2021-11-21 16:53:52发布新版本npm镜像[通俗易懂]
2022-07-31 14:24:00 【全栈程序员站长】
大家好,又见面了,我是你们的朋友全栈君。
2021-11-21 16:53:52 npm淘宝镜像更换新域名
新域名为淘宝 NPM 镜像
新版本使用镜像有以下两种方式:
1.你可以使用我们定制的 cnpm (gzip 压缩支持) 命令行工具代替默认的 npm:
$ npm install -g cnpm --registry=https://registry.npmmirror.com2.或者你直接通过添加 npm 参数 alias 一个新命令:
alias cnpm="npm --registry=https://registry.npmmirror.com \
--cache=$HOME/.npm/.cache/cnpm \
--disturl=https://npmmirror.com/dist \
--userconfig=$HOME/.cnpmrc"
# Or alias it in .bashrc or .zshrc
$ echo '\n#alias for cnpm\nalias cnpm="npm --registry=https://registry.npmmirror.com \
--cache=$HOME/.npm/.cache/cnpm \
--disturl=https://npmmirror.com/dist \
--userconfig=$HOME/.cnpmrc"' >> ~/.zshrc && source ~/.zshrc发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/128460.html原文链接:https://javaforall.cn
边栏推荐
- 组合系列--有排列就有组合
- Nuget打包并上传教程
- leetcode:2032. Values that appear in at least two arrays
- jvm 一之 类加载器
- Detailed guide to compare two tables using natural full join in SQL
- el-tooltip的使用
- 技能大赛训练题: 子网掩码划分案例
- OAuth2:搭建授权服务器
- Comparison of Optical Motion Capture and UWB Positioning Technology in Multi-agent Cooperative Control Research
- SetoolKit User Guide
猜你喜欢

以后面试官问你 为啥不建议使用Select *,请你大声回答他!

尚硅谷-JVM-内存和垃圾回收篇(P1~P203)

最近很火的国产接口神器Apipost体验

对数字化时代的企业来说,数据治理难做,但应该去做

技能大赛训练题:交换机的远程管理

什么是消息队列呢?

49. The copy constructor and overloaded 】

Open Inventor 10.12 重大改进--和谐版
![[Blue Bridge Cup Trial Question 46] Scratch Magnet Game Children's Programming Scratch Blue Bridge Cup Trial Question Explanation](/img/57/f23c21c7ed4b9701a3f6119bfd8493.png)
[Blue Bridge Cup Trial Question 46] Scratch Magnet Game Children's Programming Scratch Blue Bridge Cup Trial Question Explanation

ADS communicate with c #
随机推荐
LeetCode·304竞赛·6132·使数组中所有元素都等于零·模拟·哈希
Uniapp WeChat small application reference standard components
一篇文章讲清楚!数据库和数据仓库到底有什么区别和联系?
Sentinel安装与部署
OAuth2:单点登陆客户端
什么是消息队列呢?
Sentinel限流和异常处理
Analysis of the startup source code of hyperf (2) - how the request reaches the controller
【Pytorch】F.softmax()方法说明
A detailed guide to simulating latency with SQL/JDBC
MySQL has played to such a degree, no wonder the big manufacturers are rushing to ask for it!
Resolved (pymysqL connect to the database error) pymysqL. Err. ProgrammingError: (1146, "Table" test. Students' doesn 't exist ")
The recently popular domestic interface artifact Apipost experience
尚硅谷-JVM-内存和垃圾回收篇(P1~P203)
leetcode:485.最大连续 1 的个数
Miller_Rabin Miller Rabin probability sieve [template]
ML, DL, CV common problems sorting
C语言基础练(九九乘法表)与打印不同星号图案
Nuget打包并上传教程
Shell脚本经典案例:探测批量主机是否存活