Downloads:

59,341

Downloads of v 7.42.5.0:

405

Last Update:

21 Jul 2020

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.

7.42.5.0 | Updated: 21 Jul 2020

Downloads:

59,341

Downloads of v 7.42.5.0:

405

Maintainer(s):

Software Author(s):

  • Heroku

Heroku Command Line Interface (CLI) (Install) 7.42.5.0

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: 7.42.5.0
    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  '7.42.5.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.42.5.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.42.5.0'
   Source   = 'STEP 3 URL'
}

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


package { 'heroku-cli':
  provider => 'chocolatey',
  ensure   => '7.42.5.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.42.5.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.

There are versions of this package awaiting moderation . See the Version History section below.

This package was approved as a trusted package on 21 Jul 2020.

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 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.
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/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: 9523E2EC514B59E905BDA5463D4FC1B08F59C35F0FE5011F2443343B23D6296E
    checksum64: F31495714BD14DDBB8AF5E04096B86C2E0DDE9766C6C9B555B6C7F6A4A4D821F

   Using AU:
    
    Get-RemoteChecksum https://cli-assets.heroku.com/heroku-x86.exe
tools\chocolateyinstall.ps1
$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)
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-x64.exe
md5: E41805643325ADE1DC0E8A162F8D3A1F | sha1: 5A07D3BAC06F25AE08627D726000C397CA32F9FE | sha256: 9523E2EC514B59E905BDA5463D4FC1B08F59C35F0FE5011F2443343B23D6296E | sha512: 64802258223E4AADF58E7179841A1CA326B3217DF9FD0E04F66BC5B30DE81ABAAE7FF62B6AB9A3E6A22FD1FB3E9B5BB23E3713010BF7891D64327E9A9FAB8F29
tools\heroku-x86.exe
md5: AEA3251E872C41CE27F5B8795C580698 | sha1: 3CAA79FDDF00A75DDFD3E052A1E6132DB2208A0C | sha256: F31495714BD14DDBB8AF5E04096B86C2E0DDE9766C6C9B555B6C7F6A4A4D821F | sha512: 8A4504D5DA9B41A00F7BA483A7C5274934A3284EFE97AC1868ADDCC5C0E9FA14B21DED8E54697910F3DA585B88972E3C04AB6D95CFA921CC0D477C46B8CAA8D0

Log in or click on link to see number of positives.

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.42.13.0 17 Friday, August 28, 2020 Waiting for Maintainer gravatar
Heroku Command Line Interface (CLI) (Install) 7.42.12.0 583 Thursday, August 27, 2020 Approved
Heroku Command Line Interface (CLI) (Install) 7.42.11.0 151 Wednesday, August 26, 2020 Approved
Heroku Command Line Interface (CLI) (Install) 7.42.8.0 326 Wednesday, August 19, 2020 Approved
Heroku Command Line Interface (CLI) (Install) 7.42.6.0 521 Friday, July 31, 2020 Approved
Heroku Command Line Interface (CLI) (Install) 7.42.5.0 405 Tuesday, July 21, 2020 Approved
Heroku Command Line Interface (CLI) (Install) 7.42.4.0 345 Tuesday, July 14, 2020 Approved
Heroku Command Line Interface (CLI) (Install) 7.42.3.0 237 Friday, July 10, 2020 Approved
Heroku Command Line Interface (CLI) (Install) 7.42.2.0 356 Wednesday, July 1, 2020 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