Update Azure CLI

Published by Tobias Hofmann on

1 min read

Not one of my most useful blogs, more like a reference in my library on how to update the Azure command (and a rant at the end). Documentation and the latest version available can be found at the Azure cli installation documentation.

Check current installed version

az –version

In my case, azure-cli is at version 2.0.60. Latest version available at that was 2.0.72. Time to update. To update azure-cli, use brew to update it.

brew update && brew upgrade azure-cli

Result

az –version

Update completed successfully, and azure-cli is now at the latest version (2.0.72). Btw: to install azure-cli, it is almost the same command: brew install.

brew update && brew install azure-cli

(As promised, here is now the rant: let’s see how many decades more it takes for SAP to ship sapcar the same way).

Let the world know
Categories: Cloud

Tobias Hofmann

Doing stuff with SAP since 1998. Open, web, UX, cloud. I am not a Basis guy, but very knowledgeable about Basis stuff, as it's the foundation of everything I do (DevOps). Performance is king, and unit tests is something I actually do. Developing HTML5 apps when HTML5 wasn't around. HCP/SCP user since 2012, NetWeaver since 2002, ABAP since 1998.

2 Comments

Gregor Wolf · April 3, 2020 at 16:28

I think you need:

az –version

to get the version correctly.

    Tobias Hofmann · April 6, 2020 at 14:14

    WordPress transformed the two – – into one. It’s not even a single – any longer: the two — got transformed into a wider dash

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.