标签:
vim /etc/yum.repos.d/epel.repo
[epel]
name=epel
baseurl=http://mirrors.sohu.com/fedora-epel/6/$basearch
enabled=1
gpgcheck=0
用yum安装nodejs和npm软件:
yum install nodejs -y
yum install npm -y
编辑 ~/.npmrc 加入下面内容:
registry = http://registry.cnpmjs.org
然后安装azure-cli
npm install azure-cli -g
标签:
原文地址:http://www.cnblogs.com/hengwei/p/5183493.html