Azure Command Line Interface ( or Azure CLI ) is very nice tool that helps you manage your Azure account in multiple platforms.
Basically it’s designed to help you manage Azure account if you use more platforms. Let’s say you use Windows at work and Mac or Linux at home, Azure CLI is designed to use same interface and same commands no matter what platform you choose.
Installation for Windows, Mac and GUI Linux are pretty straight forward. You can get installer on github.com . For Linux users that are using command line, installation is made by well know protocols of apt-get, yum… depends on distribution you are using.
Ubuntu 14.04 Trusty Tahr
sudo apt-get install nodejs-legacy sudo apt-get install npm sudo npm install -g azure-cli
yum install make gcc-c++ wget -N http://nodejs.org/dist/node-latest.tar.gz tar zxvf node-latest.tar.gz cd node-v0.8.16 ./configure make install npm install azure-cli -g
You can also use command line to install Azure CLI on Windows and Mac, requirement is that you already have node.js and npm installed.
You can check your version of npm by running this in cmd:
If you have npm installed, next step is :
npm install -g azure-cli
Everything should be set and you should be able to start using Azure CLI.