mac工具安装及使用
,
Homebrew
The Missing Package Manager for macOS (or Linux). 官网
安装
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" ==> This script will install: /usr/local/bin/brew /usr/local/share/doc/homebrew /usr/local/share/man/man1/brew.1 /usr/local/share/zsh/site-functions/_brew /usr/local/etc/bash_completion.d/brew /usr/local/Homebrew ...
如果连接被拒绝,查看解决方案 curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused。
cnpm
淘宝 NPM 镜像。 官网
安装
$ sudo npm install -g cnpm --registry=https://registry.npm.taobao.org npm WARN deprecated : request has been deprecated, see https://github.com/request/request/issues/3142 /usr/local/bin/cnpm -> /usr/local/lib/node_modules/cnpm/bin/cnpm + added 685 packages from 957 contributors in 11.266s
查看
$ cnpm -v (/usr/local/lib/node_modules/cnpm/lib/parse_argv.js) (/usr/local/lib/node_modules/cnpm/node_modules/npm/lib/npm.js) (/usr/local/bin/node) (/usr/local/lib/node_modules/cnpm/node_modules/npminstall/lib/index.js) prefix=/usr/local darwin x64 18.7.0 registry=https://r.npm.taobao.org
相关推荐
zjc 2020-09-03
TinyDolphin 2020-07-19
tangjianft 2020-06-26
Ashes 2020-06-14
haoeng 2020-06-07
tianyafengxin 2020-05-30
jia 2020-05-15
炼金术士lee 2020-05-14
HJWZYY 2020-04-24
fly00love 2020-02-22
kanpiaoxue 2020-02-10
adc00 2020-01-24
azhou 2020-01-19
阿债的方寸天地 2020-01-18
LUCIEN0 2020-01-14
YoungForever 2013-04-04
WindowsandLinux 2013-07-24