Run Azure CLI on RHEL 7

My usual bookkeeping.

[code langugage=”bash”]

yum install nodejs010-nodejs

source /opt/rh/nodejs010/enable

wget -O azure-cli.tgz

tar xzvf azure-cli.tgz

cd bin

npm install

# make sure azure account is available and follow the process to authenticate

./azure login

# should be ready to use azure cli now

./azure vm list

# switch to Azure Resource Manager (arm) mode

./azure config mode arm


Leave a Reply