Installing Azure CLI

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 . 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

CentOS 6.3

yum install make gcc-c++
wget -N
tar zxvf node-latest.tar.gz
cd node-v0.8.16
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:

npm -v

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.



Article by Mustafa Toroman

I’m System Engineer at Authority Partners. I love to test and explore new technologies. Have over 20 active MS certificates such as MCSA for Windows Server and SQL Server, MCSE Private Cloud, Data Platform, Business Intelliegence and Server Infrastracture. Lately most interested in BI and Azure solutions. MCT since 2012. From 2016 MVP for Microsoft Azure.


  1. F*ckin’ remarkable issues here. I’m very happy to peer your article. Thanks so much and i am looking ahead to contact you. Will you please drop me a mail?

  2. Great wordpress blog here.. It’s hard to find quality writing like yours these days. I really appreciate people like you! take care

  3. Great site you have here.. It’s hard to find top quality writing like yours today.

    I seriously appreciate people as if you!

  4. Great – I should certainly say I’m impressed with your site. I had no trouble navigating through all the tabs as well as related information. It ended up being truly easy to access. Good job..

  5. Awesome post. I’m a regular visitor of your web site and appreciate you taking the time to maintain the excellent site. I’ll be a frequent visitor for a long time.

  6. This web site certainly has all of the information and facts I wanted about this subject and didn’t know who
    to ask.

  7. ” Very nice post. I just stumbled upon your weblog and wished to say that I have really enjoyed surfing around your blog posts. In any case I’ll be subscribing to your rss feed and I hope you write again soon! “

Leave a Reply to NorikoMStump Cancel reply

Your email address will not be published. Required fields are marked *