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

CentOS 6.3

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:

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.

Comments are closed.