Microsoft has enabled its cloud platform to have a command line (CLI) utility that can interact with the cloud based services. This CLI is installed on the Mac OS X operating system by using homebrew.
To install homebrew, use the package manager. Homebrew makes it easy to install the Azure CLI with very few commands. Before the Azure CLI can be installed, install homebrew as follows:
/bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)”
Note: Homebrew will tell you what it is installing before performing any of the installs. Make sure it is installing what you want.
Installing Azure CLI
Once homebrew is installed then the Azure CLI can be installed on Mac OS X.
Install as follows:
$ brew update
$ brew install azure-cli
Validating the install
Once the install is done, it can be validated by checking the version of the CLI. This is simply done by using the —version option
$ az —version
[email protected] ~ % az –version
Python location ‘/usr/local/Cellar/azure-cli/2.3.1/libexec/bin/python’
Extensions directory ‘/Users/bocurtis/.azure/cliextensions’
Python (Darwin) 3.8.2 (default, Mar 11 2020, 00:29:50)
[Clang 11.0.0 (clang-122.214.171.124)]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Microsoft has made it really simple to get their command-line tool install on the Mac OS X. This allows for easier development and interaction with the Azure Cloud platform services.
I’m Bobby Curtis and I’m just your normal average guy who has been working in the technology field for awhile (started when I was 18 with the US Army). The goal of this blog has changed a bit over the years. Initially, it was a general blog where I wrote thoughts down. Then it changed to focus on the Oracle Database, Oracle Enterprise Manager, and eventually Oracle GoldenGate.
If you want to follow me on a more timely manner, I can be followed on twitter at @dbasolved or on LinkedIn under “Bobby Curtis MBA”.