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...
- Passing
- Failing
- Pending
- Unknown / Exempted

Downloads:
74,758
Downloads of v 7.30.1.0:
238
Last Update:
25 Sep 2019
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:
74,758
Downloads of v 7.30.1.0:
238
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) 7.30.1.0
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://community.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=7.30.1.0 --source=https://community.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://community.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: 7.30.1.0
source: STEP 3 URL
See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.
chocolatey_package 'heroku-cli' do
action :install
version '7.30.1.0'
source 'STEP 3 URL'
end
See docs at https://docs.chef.io/resource_chocolatey_package.html.
Chocolatey::Ensure-Package
(
Name: heroku-cli,
Version: 7.30.1.0,
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 = '7.30.1.0'
Source = 'STEP 3 URL'
}
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
package { 'heroku-cli':
provider => 'chocolatey',
ensure => '7.30.1.0',
source => 'STEP 3 URL',
}
Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.
salt '*' chocolatey.install heroku-cli version="7.30.1.0" 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 25 Sep 2019.
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 ISC License (ISC)
Copyright © Heroku 2017
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS 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/heroku-x64.exe
x64: https://cli-assets.heroku.com/heroku-x86.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: D98ED74A97535AFB5FA35C7877FD75B1810D38531995BFF7AA74364CB3B70E0B
checksum64: 2B0483CDDBC1FD93BCA11E33A656F22FB6D3A1655BB88DDA595F15F70C39CCF8
Using AU:
Get-RemoteChecksum https://cli-assets.heroku.com/heroku-x86.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\*x86.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: 349D86E05CCE09CA9E833697507EA461 | sha1: D97E8BA082A0B2755D9ACE4BAA813C78342E2110 | sha256: D98ED74A97535AFB5FA35C7877FD75B1810D38531995BFF7AA74364CB3B70E0B | sha512: 8DA523466BBF07A1B4E3249CE122C0CF55D815E3A2AABB8EB7D30B0E744187230FD65EE36093853B2E6BA476E05CB163BE116D0F8ECEC3544757346665DD8CDC
md5: 991D34EC477C88A811FDB2BE0CF24D9E | sha1: 0BF9B08C6E8F2AEAFD88EBA1D9499C511FDC8632 | sha256: 2B0483CDDBC1FD93BCA11E33A656F22FB6D3A1655BB88DDA595F15F70C39CCF8 | sha512: 0A41B4BC2D5B1EC598BBBF7E2D0359C48327787DCCCC6779A7611F8B81A17331A51A114B3F440896CBEE6CCCE967AD5654C4E437A0AED2651D6813BE8D976A13
Log in or click on link to see number of positives.
- heroku-cli.7.30.1.0.nupkg (3c0c27807837) - ## / 46
- heroku-x64.exe (d98ed74a9753) - ## / 57
- heroku-x86.exe (2b0483cddbc1) - ## / 61
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.