Downloads of v 13.6.1:


Last Update:

14 Jun 2022

Package Maintainer(s):

Software Author(s):

  • Juan Cruz Viotti


balena-cli balena balena-io balena-sound balenacloud cloud cli admin

balena CLI (Install)

This is not the latest version of balena CLI (Install) available.

  • 1
  • 2
  • 3

13.6.1 | Updated: 14 Jun 2022



Downloads of v 13.6.1:



Software Author(s):

  • Juan Cruz Viotti

  • 1
  • 2
  • 3
balena CLI (Install) 13.6.1

This is not the latest version of balena CLI (Install) available.

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests

Validation Testing Passed

Verification Testing Passed


Scan Testing Successful:

No detections found in any package files

Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install balena CLI (Install), run the following command from the command line or from PowerShell:


To upgrade balena CLI (Install), run the following command from the command line or from PowerShell:


To uninstall balena CLI (Install), run the following command from the command line or from PowerShell:


Deployment Method:

📝 NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to

2. Setup Your Environment

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 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. Copy Your Script

choco upgrade balena-cli -y --source="'INTERNAL REPO URL'" --version="'13.6.1'" [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 balena-cli -y --source="'INTERNAL REPO URL'" --version="'13.6.1'" 

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0

Exit $exitCode

- name: Install balena-cli
    name: balena-cli
    version: '13.6.1'
    state: present

See docs at

chocolatey_package 'balena-cli' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '13.6.1'

See docs at

cChocoPackageInstaller balena-cli
    Name     = "balena-cli"
    Version  = "13.6.1"
    Source   = "INTERNAL REPO URL"

Requires cChoco DSC Resource. See docs at

package { 'balena-cli':
  ensure   => '13.6.1',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',

Requires Puppet Chocolatey Provider module. See docs at

4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 14 Jun 2022.


balena CLI

The official balena Command Line Interface.


The balena CLI is a Command Line Interface for balenaCloud or
openBalena. It is a software tool available for Windows, macOS and
Linux, used through a command prompt / terminal window. It can be used interactively or invoked in
scripts. The balena CLI builds on the balena API
and the balena SDK, and can also be directly
imported in Node.js applications. The balena CLI is an open-source project on
, and your contribution is also welcome!

Maintainer's Note

I produce and maintain Chocolatey packages in my spare time, for free. If you use my packages, and appreciate the time and effort I put into making and maintaining them, please consider making a small donation. Thank-you!

md5: 00E8F5D90BC1464A8AC470D6E50DEE93 | sha1: 4EB6C9B3F30BE4F1E19294A2E2EDC43BA3A499C7 | sha256: 50F27CD447B87F0325F79A3D54C37B450869E985B853046C96F5FD3344178D07 | sha512: BF3CA30F5A7F984DE5239B1622BA49529273781141C20780CE6208CD154CB1003829A3D20118C8C74451F0FD9D5457CC39A54600C6A4D93844A442A5492B9400
$ErrorActionPreference = 'Stop';
$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$packageArgs = @{
  packageName   = $env:ChocolateyPackageName
  fileType      = 'EXE'
  file64        = Get-Item "$toolsDir\*_x64.exe"
  softwareName  = 'balena-cli'
  silentArgs   = '/S'
  validExitCodes= @(0)

Install-ChocolateyInstallPackage @packageArgs

Remove-Item ($toolsDir + '\*.' + $packageArgs.fileType)
$ErrorActionPreference = 'Stop';

$softwareName = 'balena-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 $env:ChocolateyPackageName `
                                -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"}

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.

Add to Builder Version Downloads Last Updated Status
balena CLI (Install) 13.10.1 21 Tuesday, August 2, 2022 Approved
balena CLI (Install) 13.10.0 32 Friday, July 22, 2022 Approved
balena CLI (Install) 13.8.0 26 Tuesday, July 19, 2022 Approved
balena CLI (Install) 13.7.1 25 Thursday, July 14, 2022 Approved
balena CLI (Install) 13.7.0 26 Saturday, July 9, 2022 Approved
balena CLI (Install) 13.6.1 52 Tuesday, June 14, 2022 Approved
balena CLI (Install) 13.6.0 41 Wednesday, June 8, 2022 Approved
balena CLI (Install) 13.5.3 46 Wednesday, June 1, 2022 Approved
balena CLI (Install) 13.5.1 37 Friday, May 27, 2022 Approved

This package has no dependencies.

Discussion for the balena CLI (Install) Package

Ground Rules:

  • This discussion is only about balena CLI (Install) and the balena 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 balena 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