Install azcli on Linux

0. Import gpgkey

$ sudo rpm --import
  1. Create local azure-cli repository information.
# sh -c 'echo -e "[azure-cli]
name=Azure CLI
gpgkey=" > /etc/yum.repos.d/azure-cli.repo'

2. Install with the yum install command.

$ yum install azure-cli

3. Run the login command.

$ az login

To sign in, use a web browser to open the page and enter the code MYCODEHERE to authenticate.

4. Go to and enter the mentioned code

5. Click Next -> choose your account.


About Mariami Kupatadze
Oracle Certified Master Linkedin:

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: