<p>We can use below command to install azure cli on Linux:</p>

<p>curl -L <a href="https://aka.ms/InstallAzureCli" rel="nofollow noreferrer">https://aka.ms/InstallAzureCli</a> | bash</p>

<p>But what if we want to install a specific version of azure cli lets say version 2.0.23 as 2.0.24 has some issue</p>

<p>Please Help!</p>

<p>If you want to get the complete list of versions for different distros: <a href="https://packages.microsoft.com/repos/azure-cli/dists/" rel="nofollow noreferrer">https://packages.microsoft.com/repos/azure-cli/dists/</a></p>

<p>E.g Azure CLI versions for Ubuntu 
<a href="https://packages.microsoft.com/repos/azure-cli/dists/xenial/main/binary-amd64/Packages" rel="nofollow noreferrer">https://packages.microsoft.com/repos/azure-cli/dists/xenial/main/binary-amd64/Packages</a></p>

<pre><code>Package: azure-cli
Priority: extra
Section: python
Installed-Size: 317827
Maintainer: Azure Python CLI Team &lt;azpycli@microsoft.com&gt;
Architecture: all
Version: 2.0.41-1~xenial
Depends: libc6 (&gt;= 2.17), libssl1.0.0 (&gt;= 1.0.2~beta3)
Filename: pool/main/a/azure-cli/azure-cli_2.0.41-1~xenial_all.deb
Size: 40889424
MD5sum: cc807f4010b6af9507d74ef5404ee09c
SHA1: f593bffa3731a3a670b927723ca97071b0166471
SHA256: 5cfa52a187ac7d028c663f16c4bfea7ac7e49e5917cf90fe3a0299eaa496a194
SHA512: 384bf978379616522405d9e3e25645243c8c8529cd675c7bd036b8817f9220c2cdf3c1a6c3660f23f5775eeffab740608d678c5508b6aeca0359fc4370f84c74
Description: Azure CLI 2.0
 A great cloud needs great tools; we're excited to introduce Azure CLI 2.0,
 our next generation multi-platform command line experience for Azure.
Homepage: https://github.com/azure/azure-cli

Package: azure-cli
Priority: extra
Section: python
Installed-Size: 314381
Maintainer: Azure Python CLI Team &lt;azpycli@microsoft.com&gt;
Architecture: all
**Version: 2.0.38-1~xenial**
Depends: libc6 (&gt;= 2.17), libssl1.0.0 (&gt;= 1.0.2~beta3)
Filename: pool/main/a/azure-cli/azure-cli_2.0.38-1~xenial_all.deb
Size: 40504494
MD5sum: 7f076d5a7cbc38ab02913c73b2f2c372
SHA1: 10e1460570c72a1a28908c0ed73520e5ccd43a99
SHA256: c127e448b21c746c7bb67e8ab5074802458aaeb84516f746c25463fa20f45b1b
SHA512: 0969e2260ee48401df3796c26b682a8fb39b1a5d7bf5f7c9613a102dfcf3052d362cf93664317f8f4e035efa673c77316009d15d76ef8b378b829cec43f1836f
Description: Azure CLI 2.0
 A great cloud needs great tools; we're excited to introduce Azure CLI 2.0,
 our next generation multi-platform command line experience for Azure.
Homepage: https://github.com/azure/azure-cli
</code></pre>
