Install azure-cli on Mac and CentOS
In Mac
- Install brew.
- brew install nodejs
- echo "registry = https://registry.npm.taobao.org" > ~/.npmrc
- npm install azure-cli -g
In CentOS
- Install epel
- yum install -y nodejs npm
- echo "registry = https://registry.npm.taobao.org" > ~/.npmrc
- npm install azure-cli -g