首页 > 系统服务 > 详细

Linux小技巧

时间:2020-04-04 11:59:57      阅读:52      评论:0      收藏:0      [点我收藏+]

tldr:linux命令查询工具

先得安装nodejs
yum install nodejs
然后npm install -y tldr

1, 修改 下载仓库为淘宝镜像

npm config set registry https://registry.npm.taobao.org --global

npm config set disturl https://npm.taobao.org/dist --global

2, 如果要发布自己的镜像需要修改回来

 ?npm config set registry https://registry.npmjs.org/

3,?安装cnpm

 npm install?-g cnpm?--registry=https://registry.npm.taobao.org

4,查看当前地址

npm config list

Linux小技巧

原文:https://www.cnblogs.com/python001-vip/p/12630777.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!