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:
68,307
Downloads of v 5.8.6:
543
Last Update:
12 Apr 2017
Package Maintainer(s):
Software Author(s):
- Heroku
Tags:
heroku-cli heroku cli paas cloud web webapps admin- Software Specific:
- Software Site
- Software Source
- Software License
- Software Docs
- Software Issues
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download

Heroku Command Line Interface (CLI) (Install)
This is not the latest version of Heroku Command Line Interface (CLI) (Install) available.
- Software Specific:
- Software Site
- Software Source
- Software License
- Software Docs
- Software Issues
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Downloads:
68,307
Downloads of v 5.8.6:
543
Maintainer(s):
Software Author(s):
- Heroku
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.
Heroku Command Line Interface (CLI) (Install) 5.8.6
This is not the latest version of Heroku Command Line Interface (CLI) (Install) available.
All Checks are Passing
2 Passing Test
To install Heroku Command Line Interface (CLI) (Install), run the following command from the command line or from PowerShell:
To upgrade Heroku Command Line Interface (CLI) (Install), run the following command from the command line or from PowerShell:
To uninstall Heroku Command Line Interface (CLI) (Install), 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 heroku-cli --internalize --version=5.8.6 --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 heroku-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 heroku-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 heroku-cli installed
win_chocolatey:
name: heroku-cli
state: present
version: 5.8.6
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 'heroku-cli' do
action :install
version '5.8.6'
source 'STEP 3 URL'
end
See docs at https://docs.chef.io/resource_chocolatey_package.html.
Chocolatey::Ensure-Package
(
Name: heroku-cli,
Version: 5.8.6,
Source: STEP 3 URL
);
Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.
cChocoPackageInstaller heroku-cli
{
Name = 'heroku-cli'
Ensure = 'Present'
Version = '5.8.6'
Source = 'STEP 3 URL'
}
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
package { 'heroku-cli':
provider => 'chocolatey',
ensure => '5.8.6',
source => 'STEP 3 URL',
}
Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.
salt '*' chocolatey.install heroku-cli version="5.8.6" 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.
This package was approved as a trusted package on 12 Apr 2017.
This software requires a Heroku account in order to work.
Heroku lets you deploy, run and manage applications written in Ruby, Node.js, Java, Python, Clojure, Scala, Go and PHP.
An application is a collection of source code written in one of these languages, perhaps a framework, and some dependency description that instructs a build system as to which additional dependencies are needed in order to build and run the application.
Dependency mechanisms vary across languages: in Ruby you use a Gemfile, in Python a requirements.txt, in Node.js a package.json, in Java a pom.xml and so on.
The source code for your application, together with the dependency file, should provide enough information for the Heroku platform to build your application, to produce something that can be executed.
From: https://github.com/heroku/cli/blob/master/LICENSE
LICENSE
The MIT License (MIT)
Copyright © Heroku 2016
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.
1. Download installer:
x32: https://cli-assets.heroku.com/branches/stable/heroku-windows-386.exe
x64: https://cli-assets.heroku.com/branches/stable/heroku-windows-amd64.exe
2. You can use one of the following methods to obtain the checksum:
- Use powershell function 'Get-FileHash'
- Use Chocolatey utility 'checksum.exe'
checksum32: EF94D0A0353A3DEBB0CC0D9DCB25DF842CF718D732FBD4D0965F83331453751B
checksum64: 83FFC657FE1E636009C26ED97B11F01210E3D7A82E47FF2B17464BA7365575C2
Using AU:
Get-RemoteChecksum https://cli-assets.heroku.com/branches/stable/heroku-windows-amd64.exe
$ErrorActionPreference = 'Stop';
$packageName = 'heroku-cli'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$installerFile = if ((Get-ProcessorBits 64) -and $env:chocolateyForceX86 -ne 'true') {
Write-Host "Installing x64 bit version"; Get-Item "$toolsDir\*_x64.exe"
} else { Write-Host "Installing x32 bit version"; Get-Item "$toolsDir\*_x32.exe" }
$packageArgs = @{
packageName = $packageName
fileType = 'EXE'
file = $installerFile
softwareName = 'Heroku CLI'
silentArgs = '/S'
validExitCodes= @(0)
}
Install-ChocolateyInstallPackage @packageArgs
Remove-Item ($toolsDir + '\*.' + $packageArgs.fileType)
$ErrorActionPreference = 'Stop';
$packageName = 'heroku-cli'
$softwareName = 'Heroku CLI'
$installerType = 'EXE'
$silentArgs = '/S'
$validExitCodes = @(0)
$uninstalled = $false
[array]$key = Get-UninstallRegistryKey -SoftwareName $softwareName
if ($key.Count -eq 1) {
$key | % {
$file = "$($_.UninstallString)"
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"}
}
md5: 563BD491592388A5A1C9AC795D6F4BF1 | sha1: A1FCE8849EECABF9FF4A7AA8A4505AAB788FFCF5 | sha256: EF94D0A0353A3DEBB0CC0D9DCB25DF842CF718D732FBD4D0965F83331453751B | sha512: 09CAC6FA2303D239DEEFFBC650F666F194A0C79F987053C9DC254EC1DA99C22AE795AEA09B041CC35FBDECC388B762F70952009AABD9094078F8D6DB9AA68C62
md5: 9CEF451831AF6A17BA9A630A19EEC030 | sha1: FAF74BEED6313890E776067964970E89EE79CC8B | sha256: 83FFC657FE1E636009C26ED97B11F01210E3D7A82E47FF2B17464BA7365575C2 | sha512: 72D1D32F3528F251510A52A5B5BB46B0DD1E81AC50E1E553A61C0DEE1CC7681694F3F6E3539867E790A45F26B37E2D61E2433B418A96AE345D77A9EC8F5D1E1B
Log in or click on link to see number of positives.
- heroku-cli.5.8.6.nupkg (87287b10aea0) - ## / 58
- heroku-windows-386_x32.exe (ef94d0a0353a) - ## / 61
- heroku-windows-amd64_x64.exe (83ffc657fe1e) - ## / 59
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.
© 2017 Heroku, Inc.
-
- git (≥ 2.8.1)
Ground Rules:
- This discussion is only about Heroku Command Line Interface (CLI) (Install) and the Heroku Command Line Interface (CLI) (Install) 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 Heroku Command Line Interface (CLI) (Install), 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.