Downloads:

43,426

Downloads of v 7.22.4.0:

232

Last Update:

3/6/2019

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.22.4.0 | Updated: 3/6/2019

Downloads:

43,426

Downloads of v 7.22.4.0:

232

Maintainer(s):

Software Author(s):

  • Heroku

Heroku Command Line Interface (CLI) (Install) 7.22.4.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.22.4.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.22.4.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.22.4.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.22.4.0'
   Source   = 'STEP 3 URL'
}

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


package { 'heroku-cli':
  provider => 'chocolatey',
  ensure   => '7.22.4.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.22.4.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 3/6/2019.

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: 26FAEDAA7B9E5E0FE92C3AAD00BC0C65A96176EDA5AE1884C27035D81A1F91F7
    checksum64: F83FDB0795290167DA1FA982ED8605CA1C2839E8320E2E5DE0E4ABA87E3D1CDC

   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: E259053A53BB4B872DE3584056A169C3 | sha1: 2AD16D299E9A76150D1EBC6DFFEAEF7D8B888F98 | sha256: 26FAEDAA7B9E5E0FE92C3AAD00BC0C65A96176EDA5AE1884C27035D81A1F91F7 | sha512: 3AE4CB275B62EB762425AA72474A5632999A68F4018A297BB5ADB18B83AF74C44020E601304BECC180A25F3D6553A8471361E251DC28A7AC78387C38432DDBDB
tools\heroku-x86.exe
md5: 6420B840E724AB8C4B95E1D8D4DFE2E3 | sha1: E249F29B48612A8A2C274DC8A36BF7854229F818 | sha256: F83FDB0795290167DA1FA982ED8605CA1C2839E8320E2E5DE0E4ABA87E3D1CDC | sha512: 02F0E27D73E4E6B726F7254DED020DB450C165B4BB45AA030C2FDBEF242185AC42BB17968F9502DC9F411152818A81EED285417F39CAAC3510D11C31813044F0

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 128 Tuesday, November 5, 2019 Approved
Heroku Command Line Interface (CLI) (Install) 7.33.3.0 477 Thursday, October 10, 2019 Approved
Heroku Command Line Interface (CLI) (Install) 7.33.1.0 220 Friday, October 4, 2019 Approved
Heroku Command Line Interface (CLI) (Install) 7.31.2.0 139 Tuesday, October 1, 2019 Approved
Heroku Command Line Interface (CLI) (Install) 7.31.0.0 102 Monday, September 30, 2019 Approved
Heroku Command Line Interface (CLI) (Install) 7.30.1.0 175 Wednesday, September 25, 2019 Approved
Heroku Command Line Interface (CLI) (Install) 7.30.0.0 203 Tuesday, September 17, 2019 Approved
Heroku Command Line Interface (CLI) (Install) 7.29.0.0 434 Thursday, August 22, 2019 Approved
Heroku Command Line Interface (CLI) (Install) 7.27.1.0 353 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