Installing Azure CLI on a Mac OS X

Share this:

Microsoft Azure is open for all type of administrators, and if you use a Mac OS X,  you can access the portal using your Safari and also use Azure CLI (Command Line Interface) to manage your Azure subscriptions.   Similar process can be done on an operating system based on Linux as well.


When using Mac OS X, the first task is to download the OS X Installer When the download completes, click on the download icon located on The Dock, and then click on Azure-cli.0.9.10.dmg.


Screen Shot 2015-10-28 at 23.08.55

In the new window, just click on the icon being displayed, in our case is Install Command Line Interface.

Screen Shot 2015-10-28 at 23.09.10

In the Introduction page. Just click on Continue.

Screen Shot 2015-10-28 at 23.09.24

In the License page, if you are okay with the agreement, click on Continue, a new pop-up will be displayed, click on Agree to continue.

Screen Shot 2015-10-28 at 23.09.44

In the “Installation Type” page. Click on Install.

Screen Shot 2015-10-28 at 23.09.54

During the installation process you may have to provide your local administrator credentials, after that click on Install Software to confirm.

Screen Shot 2015-10-28 at 23.10.07

The final page of the installation process is shown in the figure below. Click on Close.

Screen Shot 2015-10-28 at 23.10.41


Using Azure CLI…

In order to use Azure CLI, open a terminal session, you can click on Applications and find Terminal there, and to start using Azure CLI, just type azure and hit enter, the result will be similar to the image below.

Screen Shot 2015-10-28 at 23.12.12

Written by Anderson Patricio

Anderson Patricio is a Canadian Exchange Server MVP and MCSM (Solutions Master) and he contributes to the Microsoft Community with articles, tutorials, blog posts, forums and book reviews. He is a regular contributor at, and (Portuguese).