Downloads:

42,970

Downloads of v 5.7.8:

248

Last Update:

3/23/2017

Package Maintainer(s):

Software Author(s):

  • Heroku

Tags:

heroku-cli heroku cli paas cloud web webapps admin

Heroku Command Line Interface (CLI) (Install)

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

5.7.8 | Updated: 3/23/2017

Downloads:

42,970

Downloads of v 5.7.8:

248

Maintainer(s):

Software Author(s):

  • Heroku

Heroku Command Line Interface (CLI) (Install) 5.7.8

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

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

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

  • 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

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.7.8
    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.7.8'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: heroku-cli,
    Version: 5.7.8,
    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.7.8'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'heroku-cli':
  provider => 'chocolatey',
  ensure   => '5.7.8',
  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.7.8" 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 3/23/2017.

Description

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.


legal\LICENSE.txt
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.
legal\VERIFICATION.txt
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: F36664371B10B61F28F3E118BF070E16B9D45D83D095D7CC284B8E3415D44276
    checksum64: 8957E05CF2871D37E8806ADAFAA71197964EDB888B730FB5A8940EAC27ACDE42

   Using AU:
    
    Get-RemoteChecksum https://cli-assets.heroku.com/branches/stable/heroku-windows-amd64.exe
tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop';
$packageName = 'heroku-cli'

#First need to uninstall old toolbelt pkg if installed
$softwareName = 'Heroku Toolbelt*'
$installerType = 'EXE' 
$silentArgs = '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-'
$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"
  }
}
# Remove heroku config file as requested https://blog.heroku.com/the-new-heroku-cli
Remove-Item $env:USERPROFILE\.config\heroku -Recurse -ErrorAction SilentlyContinue -Force

$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

# Don't need installers anymore
Remove-Item ($toolsDir + '\*.' + $packageArgs.fileType)
tools\chocolateyuninstall.ps1
$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"}
}
tools\heroku-windows-386_x32.exe
md5: 878F95FDDC7D381A6287971429995859 | sha1: 173DDD1891D30645BAE4CFA1BC5BBACB712A50CB | sha256: F36664371B10B61F28F3E118BF070E16B9D45D83D095D7CC284B8E3415D44276 | sha512: F0C4D88DA712494C0C266F5874AACB748D92E767122EF170EEB9CAA1F6E02B7E9B3486380CFD897FD13566A74C36B3B73FF43E9C6827F8157FF76AC4EC2B29D4
tools\heroku-windows-amd64_x64.exe
md5: 7DBF6D14F4B2A45FD129158DD5B0C88B | sha1: 830F18311F767373CEDD5AA4457F4BF0392162AF | sha256: 8957E05CF2871D37E8806ADAFAA71197964EDB888B730FB5A8940EAC27ACDE42 | sha512: 73F74B349E6E45BE0CE4CE4F8AB7F99F5FE569268F24A6BDEA434597473A1C51A41EC24801D9AF4BF006DB753DDFBDA94DBDF890A104A4F4371E9197C5AF9AFA

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
Heroku Command Line Interface (CLI) (Install) 7.34.2.0 126 Tuesday, November 5, 2019 Approved
Heroku Command Line Interface (CLI) (Install) 7.33.3.0 474 Thursday, October 10, 2019 Approved
Heroku Command Line Interface (CLI) (Install) 7.33.1.0 219 Friday, October 4, 2019 Approved
Heroku Command Line Interface (CLI) (Install) 7.31.2.0 138 Tuesday, October 1, 2019 Approved
Heroku Command Line Interface (CLI) (Install) 7.31.0.0 100 Monday, September 30, 2019 Approved
Heroku Command Line Interface (CLI) (Install) 7.30.1.0 174 Wednesday, September 25, 2019 Approved
Heroku Command Line Interface (CLI) (Install) 7.30.0.0 202 Tuesday, September 17, 2019 Approved
Heroku Command Line Interface (CLI) (Install) 7.29.0.0 431 Thursday, August 22, 2019 Approved
Heroku Command Line Interface (CLI) (Install) 7.27.1.0 351 Wednesday, July 31, 2019 Approved

    • git (≥ 2.8.1)
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