Based on https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-macos?view=azure-cli-latest
Install Azure-CLI locally,
brew update && brew install azure-cliand to update a Azure-CLI locally,
brew update azure-cliSee: https://learn.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest
then, login to MS Azure,
az loginand finally, Login to the Azure Container registry:
./ccd loginOn windows platform, we are installing the Azure CLI using executable .msi file. If "az login" command throws an error like "Access Denied", please follow these steps. We will need to install the az cli using Python PIP.
- If Microsoft Azure CLI is already installed, uninstall it from control panel.
- Setup the Python(version 2.x/3.x) on windows machine. PIP is bundled with Python.
- Execute the command "pip install azure-cli" using command line. It takes about 20 minutes to install the azure cli.
- Verify the installation using the command az --version.