Notices: This section not yet converted to new layout. Download stats are rolling back out.

This is not the latest version of Heroku Command Line Interface (CLI) (Install) available.

Heroku Command Line Interface (CLI) (Install)


Package test results are passing.

This package was approved by moderator flcdrg on 12/15/2016.

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.

To install Heroku Command Line Interface (CLI) (Install), run the following command from the command line or from PowerShell:

C:\> choco install heroku-cli --version 3.43.15

To upgrade Heroku Command Line Interface (CLI) (Install), run the following command from the command line or from PowerShell:

C:\> choco upgrade heroku-cli --version 3.43.15


  • tools\chocolateyinstall.ps1 Show
    $ErrorActionPreference = 'Stop';
    $packageName= 'heroku-cli'
    $toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    $url        = ''
    $checksum32 = '6ac61b279bb569de66f94271286a0bdc6c605da725c8c9080291a3493463c754'
    $packageArgs = @{
      packageName   = $packageName
      unzipLocation = $toolsDir
      fileType      = 'EXE'
      url           = $url
      softwareName  = 'Heroku Toolbelt*'
      checksum      = $checksum32
      checksumType  = 'sha256'
      silentArgs   = '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /COMPONENTS="*toolbelt,!toolbelt\git"'
      validExitCodes= @(0)
    Install-ChocolateyPackage @packageArgs
  • tools\chocolateyuninstall.ps1 Show
    $ErrorActionPreference = 'Stop';
    $packageName = 'heroku-cli'
    $softwareName = 'Heroku Toolbelt*'
    $installerType = 'EXE' 
    $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"}
  • tools\VERIFICATION.txt Show
    Verification is intended to assist the Chocolatey moderators and community
    in verifying that this package's contents are trustworthy.
    1. Download latest version from
    2. Compare downloaded exe hash with bundled hash

Virus Scan Results

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.


    • git (≥ 2.8)

Package Maintainer(s)

Software Author(s)

  • Heroku


© 2016 Heroku, Inc.


Release Notes

Version History

Version Downloads Last updated Status
Heroku Command Line Interface (CLI) (Install) 397 Friday, June 28, 2019 approved
Heroku Command Line Interface (CLI) (Install) 62 Thursday, June 27, 2019 approved
Heroku Command Line Interface (CLI) (Install) 343 Tuesday, June 4, 2019 approved
Heroku Command Line Interface (CLI) (Install) 224 Thursday, May 23, 2019 approved
Heroku Command Line Interface (CLI) (Install) 264 Wednesday, May 8, 2019 approved
Heroku Command Line Interface (CLI) (Install) 223 Saturday, April 27, 2019 approved
Heroku Command Line Interface (CLI) (Install) 193 Saturday, April 20, 2019 approved
Heroku Command Line Interface (CLI) (Install) 263 Friday, April 5, 2019 approved
Heroku Command Line Interface (CLI) (Install) 313 Friday, March 15, 2019 approved
Show More

Discussion for the Heroku Command Line Interface (CLI) (Install) Package

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.

comments powered by Disqus uses cookies to enhance the user experience of the site.