Created
March 23, 2022 14:08
-
-
Save rexwhitten/8163110ef840308dbafbcfc7c265ba0b to your computer and use it in GitHub Desktop.
Install Azure CLI on Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AZ_REPO=$(lsb_release -cs) | |
echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $AZ_REPO main" | sudo tee /etc/apt/sources.list.d/azure-cli.list | |
curl -L https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - | |
sudo apt-get -y install apt-transport-https | |
sudo apt-get update && sudo apt-get -y install azure-cli |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment