当前位置:网站首页>NPM Taobao mirror (latest version) released a new version of npm mirror at 2021-11-21 16:53:52 [easy to understand]
NPM Taobao mirror (latest version) released a new version of npm mirror at 2021-11-21 16:53:52 [easy to understand]
2022-07-31 14:26:00 【Full stack programmer webmaster】
Hello everyone, meet again, I'm your friend Quanstack Jun.
2021-11-21 16:53:52 npm Taobao mirror change new domain name
The new domain name isTaobao NPM mirror
The new version uses the mirror in the following two ways:
1. You can use our customized cnpm (gzip compression support) command line tool instead of default npm:
$ npm install -g cnpm --registry=https://registry.npmmirror.com2. Or you can directly add a new command by adding the npm parameter 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 ~/.zshrcPublisher: Full-stack programmer, please indicate the source: https://javaforall.cn/128460.htmlOriginal link: https://javaforall.cn
边栏推荐
猜你喜欢
随机推荐
龟速乘【模板】
An article makes it clear!What is the difference and connection between database and data warehouse?
OAuth2:微服务权限校验Session共享
LeetCode·每日一题·1161.最大层内元素和·层次遍历
英文语法-时与态
Miller_Rabin Miller Rabin probability sieve [template]
搭建私有的的Nuget包服务器教程
OAuth2:单点登陆客户端
Why do we need to sub-library and sub-table?
[QNX Hypervisor 2.2 User Manual] 9.13 rom
技能大赛dhcp服务训练题
小试牛刀:Go 反射帮我把 Excel 转成 Struct
组合系列--有排列就有组合
技能大赛训练题: 子网掩码划分案例
Node version switching management using NVM
3.爬虫之Scrapy框架1安装与使用
leetcode:485.最大连续 1 的个数
Detailed guide to compare two tables using natural full join in SQL
Sentinel限流和异常处理
[QNX Hypervisor 2.2 User Manual]9.14 safety









