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