Skip to content

Install azure-cli on Mac and CentOS ​

In Mac ​

  1. Install brew.
  2. brew install nodejs
  3. echo "registry = https://registry.npm.taobao.org" > ~/.npmrc
  4. npm install azure-cli -g

In CentOS ​

  1. Install epel
  2. yum install -y nodejs npm
  3. echo "registry = https://registry.npm.taobao.org" > ~/.npmrc
  4. npm install azure-cli -g

Powered by VitePress