Welcome to the Chocolatey Community Package Repository! The packages found in this section of the site are provided, maintained, and moderated by the community.
Moderation
Every version of each package undergoes a rigorous moderation process before it goes live that typically includes:
- Security, consistency, and quality checking
- Installation testing
- Virus checking through VirusTotal
- Human moderators who give final review and sign off
More detail at Security and Moderation.
Organizational Use
If you are an organization using Chocolatey, we want your experience to be fully reliable. Due to the nature of this publicly offered repository, reliability cannot be guaranteed. Packages offered here are subject to distribution rights, which means they may need to reach out further to the internet to the official locations to download files at runtime.
Fortunately, distribution rights do not apply for internal use. With any edition of Chocolatey (including the free open source edition), you can host your own packages and cache or internalize existing community packages.
Disclaimer
Your use of the packages on this site means you understand they are not supported or guaranteed in any way. Learn more...

Downloads:
607,852
Downloads of v 2.0.23.20180102:
601
Last Update:
02 Jan 2018
Package Maintainer(s):
Software Author(s):
- Microsoft
Tags:
azurecli cli admin azure- Software Specific:
- Software Site
- Software Source
- Software License
- Software Docs
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download

Azure CLI
This is not the latest version of Azure CLI available.
- Software Specific:
- Software Site
- Software Source
- Software License
- Software Docs
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Downloads:
607,852
Downloads of v 2.0.23.20180102:
601
Maintainer(s):
Software Author(s):
- Microsoft
Edit Package
To edit the metadata for a package, please upload an updated version of the package.
Chocolatey's Community Package Repository currently does not allow updating package metadata on the website. This helps ensure that the package itself (and the source used to build the package) remains the one true source of package metadata.
This does require that you increment the package version.
Azure CLI 2.0.23.20180102
This is not the latest version of Azure CLI available.
All Checks are Passing
2 Passing Test
To install Azure CLI, run the following command from the command line or from PowerShell:
To upgrade Azure CLI, run the following command from the command line or from PowerShell:
To uninstall Azure CLI, run the following command from the command line or from PowerShell:
NOTE: This applies to both open source and commercial editions of Chocolatey.
1. Ensure you are set for organizational deployment
Please see the organizational deployment guide
2. Get the package into your environment-
Open Source or Commercial:
- Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
- You can also just download the package and push it to a repository Download
-
Open Source
- Download the Package Download
- Follow manual internalization instructions
-
Package Internalizer (C4B)
- Run
choco download azure-cli --internalize --version=2.0.23.20180102 --source=https://chocolatey.org/api/v2
(additional options) - Run
choco push --source="'http://internal/odata/repo'"
for package and dependencies - Automate package internalization
- Run
3. Enter your internal repository url
(this should look similar to https://chocolatey.org/api/v2)
4. Choose your deployment method:
choco upgrade azure-cli -y --source="'STEP 3 URL'" [other options]
See options you can pass to upgrade.
See best practices for scripting.
Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.
If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:
choco upgrade azure-cli -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE
Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
Exit 0
}
Exit $exitCode
- name: Ensure azure-cli installed
win_chocolatey:
name: azure-cli
state: present
version: 2.0.23.20180102
source: STEP 3 URL
See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.
Coming early 2020! Central Managment Reporting available now! More information...
chocolatey_package 'azure-cli' do
action :install
version '2.0.23.20180102'
source 'STEP 3 URL'
end
See docs at https://docs.chef.io/resource_chocolatey_package.html.
Chocolatey::Ensure-Package
(
Name: azure-cli,
Version: 2.0.23.20180102,
Source: STEP 3 URL
);
Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.
cChocoPackageInstaller azure-cli
{
Name = 'azure-cli'
Ensure = 'Present'
Version = '2.0.23.20180102'
Source = 'STEP 3 URL'
}
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
package { 'azure-cli':
provider => 'chocolatey',
ensure => '2.0.23.20180102',
source => 'STEP 3 URL',
}
Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.
salt '*' chocolatey.install azure-cli version="2.0.23.20180102" source="STEP 3 URL"
See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.
5. If applicable - Chocolatey configuration/installation
See infrastructure management matrix for Chocolatey configuration elements and examples.
Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...
This package was approved as a trusted package on 02 Jan 2018.
Azure CLI is optimized for managing and administering Azure resources from the command line, and for building automation scripts that work against the Azure Resource Manager.
$ErrorActionPreference = 'Stop';
$packageName= 'azure-cli'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url = 'https://azurecliprod.blob.core.windows.net/msi/azure-cli-2.0.23.msi'
$packageArgs = @{
packageName = $packageName
url = $url
fileType = "msi"
softwareName = 'Microsoft CLI 2.0 for Azure'
checksum = '791dc8bfe464e51c22b5c2d8927852c48ca4a062'
checksumType = 'sha1'
silentArgs = "/qn /norestart /l*v `"$($env:TEMP)\$($packageName).$($env:chocolateyPackageVersion).MsiInstall.log`""
validExitCodes= @(0, 3010, 1641)
}
Install-ChocolateyPackage @packageArgs
$ErrorActionPreference = 'Stop';
$packageName = 'azure-cli'
$softwareName = 'Microsoft CLI 2.0 for Azure'
$installerType = 'MSI'
$silentArgs = '/qn /norestart'
$validExitCodes = @(0, 3010, 1605, 1614, 1641)
if ($installerType -ne 'MSI') {
$validExitCodes = @(0)
}
$uninstalled = $false
[array]$key = Get-UninstallRegistryKey -SoftwareName $softwareName
if ($key.Count -eq 1) {
$key | % {
$file = "$($_.UninstallString)"
if ($installerType -eq 'MSI') {
$silentArgs = "$($_.PSChildName) $silentArgs"
$file = ''
}
Uninstall-ChocolateyPackage -PackageName $packageName `
-FileType $installerType `
-SilentArgs "$silentArgs" `
-ValidExitCodes $validExitCodes `
-File "$file"
}
} elseif ($key.Count -eq 0) {
Write-Warning "$packageName has already been uninstalled by other means."
} elseif ($key.Count -gt 1) {
Write-Warning "$key.Count matches found!"
Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
Write-Warning "Please alert package maintainer the following keys were matched:"
$key | % {Write-Warning "- $_.DisplayName"}
}
Log in or click on link to see number of positives.
- azure-cli.2.0.23.20180102.nupkg (1d19b6315e8d) - ## / 60
- azure-cli-2.0.23.msi (f5a5c303f0d2) - ## / 56
In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).
Chocolatey Pro provides runtime protection from possible malware.
Version | Downloads | Last Updated | Status |
---|---|---|---|
Azure CLI 2.18.0 | 989 | Tuesday, January 19, 2021 | Approved |
Azure CLI 2.17.1 | 6397 | Monday, January 4, 2021 | Approved |
Azure CLI 2.17.0 | 2094 | Tuesday, December 29, 2020 | Approved |
Azure CLI 2.16.0 | 6808 | Tuesday, December 8, 2020 | Approved |
Azure CLI 2.15.1 | 8347 | Saturday, November 21, 2020 | Approved |
Azure CLI 2.15.0 | 1978 | Tuesday, November 17, 2020 | Approved |
Azure CLI 2.14.2 | 4730 | Tuesday, November 10, 2020 | Approved |
Azure CLI 2.14.1 | 1614 | Saturday, November 7, 2020 | Approved |
Azure CLI 2.14.0 | 5118 | Tuesday, October 27, 2020 | Approved |
Azure CLI 2.13.0 | 5485 | Tuesday, October 13, 2020 | Approved |
Azure CLI 2.12.1 | 5869 | Tuesday, September 29, 2020 | Approved |
Azure CLI 2.12.0 | 3598 | Tuesday, September 22, 2020 | Approved |
Azure CLI 2.11.1 | 7936 | Saturday, August 29, 2020 | Approved |
Azure CLI 2.11.0 | 2640 | Tuesday, August 25, 2020 | Approved |
Azure CLI 2.10.1 | 6164 | Friday, August 7, 2020 | Approved |
Azure CLI 2.10.0 | 2249 | Tuesday, August 4, 2020 | Approved |
Azure CLI 2.9.1 | 8594 | Friday, July 17, 2020 | Approved |
Azure CLI 2.9.0 | 1705 | Tuesday, July 14, 2020 | Approved |
Azure CLI 2.8.0 | 6410 | Tuesday, June 23, 2020 | Approved |
Azure CLI 2.7.0 | 7912 | Tuesday, June 2, 2020 | Approved |
Azure CLI 2.6.0 | 9337 | Tuesday, May 19, 2020 | Approved |
Azure CLI 2.5.1 | 7892 | Saturday, May 2, 2020 | Approved |
Azure CLI 2.5.0 | 2267 | Tuesday, April 28, 2020 | Approved |
Azure CLI 2.4.0 | 2995 | Wednesday, April 22, 2020 | Approved |
Azure CLI 2.3.1 | 8373 | Thursday, April 2, 2020 | Approved |
Azure CLI 2.3.0 | 1509 | Tuesday, March 31, 2020 | Approved |
Azure CLI 2.2.0 | 10399 | Tuesday, March 10, 2020 | Approved |
Azure CLI 2.1.0 | 10598 | Tuesday, February 18, 2020 | Approved |
Azure CLI 2.0.81 | 7256 | Tuesday, February 4, 2020 | Approved |
Azure CLI 2.0.80 | 10144 | Monday, January 13, 2020 | Approved |
Azure CLI 2.0.79 | 2923 | Tuesday, January 7, 2020 | Approved |
Azure CLI 2.0.78 | 6401 | Thursday, December 19, 2019 | Approved |
Azure CLI 2.0.77 | 10170 | Tuesday, November 26, 2019 | Approved |
Azure CLI 2.0.76 | 10825 | Monday, November 4, 2019 | Approved |
Azure CLI 2.0.75 | 7758 | Tuesday, October 15, 2019 | Approved |
Azure CLI 2.0.74 | 4867 | Tuesday, September 24, 2019 | Approved |
Azure CLI 2.0.73 | 3917 | Wednesday, September 11, 2019 | Approved |
Azure CLI 2.0.72 | 4368 | Tuesday, August 27, 2019 | Approved |
Azure CLI 2.0.71 | 3707 | Tuesday, August 13, 2019 | Approved |
Azure CLI 2.0.70 | 4859 | Tuesday, July 30, 2019 | Approved |
Azure CLI 2.0.69 | 4911 | Tuesday, July 16, 2019 | Approved |
Azure CLI 2.0.68 | 3284 | Wednesday, July 3, 2019 | Approved |
Azure CLI 2.0.67 | 2817 | Wednesday, June 19, 2019 | Approved |
Azure CLI 2.0.66 | 3997 | Wednesday, June 5, 2019 | Approved |
Azure CLI 2.0.65 | 2594 | Wednesday, May 22, 2019 | Approved |
Azure CLI 2.0.64 | 6818 | Tuesday, May 7, 2019 | Approved |
Azure CLI 2.0.63 | 2235 | Wednesday, April 24, 2019 | Approved |
Azure CLI 2.0.62 | 2299 | Wednesday, April 10, 2019 | Approved |
Azure CLI 2.0.61 | 2497 | Wednesday, March 27, 2019 | Approved |
Azure CLI 2.0.60 | 2435 | Wednesday, March 13, 2019 | Approved |
Azure CLI 2.0.59 | 2185 | Wednesday, February 27, 2019 | Approved |
Azure CLI 2.0.58 | 2079 | Thursday, February 14, 2019 | Approved |
Azure CLI 2.0.57 | 1835 | Monday, February 4, 2019 | Approved |
Azure CLI 2.0.54 | 3141 | Saturday, January 12, 2019 | Approved |
Azure CLI 2.0.52 | 3767 | Wednesday, December 5, 2018 | Approved |
Azure CLI 2.0.51 | 2724 | Thursday, November 22, 2018 | Approved |
Azure CLI 2.0.50 | 1378 | Tuesday, November 13, 2018 | Approved |
Azure CLI 2.0.49 | 1882 | Friday, October 26, 2018 | Approved |
Azure CLI 2.0.47 | 12355 | Wednesday, October 17, 2018 | Approved |
Azure CLI 2.0.46 | 2543 | Friday, September 21, 2018 | Approved |
Azure CLI 2.0.45 | 1968 | Friday, August 31, 2018 | Approved |
Azure CLI 2.0.44 | 1559 | Wednesday, August 15, 2018 | Approved |
Azure CLI 2.0.43 | 908 | Thursday, August 9, 2018 | Approved |
Azure CLI 2.0.41 | 2080 | Monday, July 16, 2018 | Approved |
Azure CLI 2.0.38 | 1376 | Friday, June 22, 2018 | Approved |
Azure CLI 2.0.37 | 1054 | Thursday, June 14, 2018 | Approved |
Azure CLI 2.0.34 | 478 | Monday, June 11, 2018 | Approved |
Azure CLI 2.0.32 | 1642 | Friday, May 18, 2018 | Approved |
Azure CLI 2.0.31 | 1134 | Wednesday, May 2, 2018 | Approved |
Azure CLI 2.0.30 | 1713 | Friday, April 6, 2018 | Approved |
Azure CLI 2.0.29 | 1250 | Friday, March 16, 2018 | Approved |
Azure CLI 2.0.28 | 766 | Wednesday, March 7, 2018 | Approved |
Azure CLI 2.0.27 | 1227 | Tuesday, February 13, 2018 | Approved |
Azure CLI 2.0.26 | 775 | Wednesday, January 31, 2018 | Approved |
Azure CLI 2.0.25 | 739 | Wednesday, January 17, 2018 | Approved |
Azure CLI 2.0.24 | 604 | Monday, January 8, 2018 | Approved |
Azure CLI 2.0.23.20180102 | 601 | Tuesday, January 2, 2018 | Approved |
Azure CLI 2.0.23 | 332 | Tuesday, January 2, 2018 | Approved |
Azure CLI 2.0.22 | 938 | Tuesday, December 5, 2017 | Approved |
Azure CLI 2.0.21 | 1033 | Tuesday, November 28, 2017 | Approved |
Azure CLI 2.0.20 | 117762 | Tuesday, October 24, 2017 | Approved |
Azure CLI 2.0.17 | 147887 | Thursday, September 14, 2017 | Approved |
Azure CLI 2.0.10 | 25048 | Thursday, July 13, 2017 | Approved |
This package has no dependencies.
Ground Rules:
- This discussion is only about Azure CLI and the Azure CLI package. If you have feedback for Chocolatey, please contact the Google Group.
- This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
- The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
- Tell us what you love about the package or Azure CLI, or tell us what needs improvement.
- Share your experiences with the package, or extra configuration or gotchas that you've found.
- If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.