# balena-cli を Homebrew, chocolatey, MacPorts, Nix, scoop, winget でインストール

balena-cli のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:balena-cli
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install balena-cli
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install balena-cli
```

  証拠: MacPorts ports tree: devel/balena-cli/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#balena-cli
```

  証拠: nixpkgs package indexes: pkgs/by-name/ba/balena-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Chocolatey (92%):

```sh
choco install balena-cli
```

  証拠: Chocolatey community package catalog: balena-cli from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','azurestorageemulator'

- Scoop (92%):

```sh
scoop install main/balena-cli
```

  証拠: Scoop official bucket manifest trees: bucket/balena-cli.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Balena.BalenaCLI -e
```

  証拠: Windows Package Manager source index: Balena.BalenaCLI from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:balena-cli
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/balena-cli>
- **バージョン:** 25.2.0
- **ソース概要:** Command-line tool for interacting with the balenaCloud and balena API
- **ホームページ:** <https://docs.balena.io/reference/balena-cli/latest/>
- **上流ドキュメント:** <https://docs.balena.io/reference/balena-cli/latest/>
- **ライセンス:** Apache-2.0
- **ソースアーカイブ:** <https://registry.npmjs.org/balena-cli/-/balena-cli-25.2.0.tgz>
- **最終更新:** 2026-07-27T19:30:35Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- balena (cli)
- balena (エイリアス)

## 依存関係

- node

## ビルド依存関係

- go

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 25.2.0
- マネージャ更新日: 2026-07-27
- ローカルデータ: OK
- 上流リポジトリ: https://docs.balena.io/reference/balena-cli/latest/
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

balena CLI is the official command-line interface for balenaCloud, openBalena, and the balena API. It is a cross-platform operational tool for IoT and edge-device fleets, used interactively and in scripts.

### プロジェクトの歴史

The balena-io/balena-cli GitHub repository was created on March 2, 2015. The README describes it as the official balena CLI and says it builds on the balena API and balena SDK, can be imported in Node.js applications, and is available for Windows, macOS, and Linux.

The project has evolved with balena's platform. Its changelog is generated by Versionist, follows semantic versioning, and shows a long-running release train with major-version compatibility and deprecation policy documented in the README.

### 採用の歴史

balena CLI is a central tool for balenaCloud and openBalena users because it handles account login, fleet and device operations, image deployment, OS downloads, SSH, API-backed scripting, and CI-friendly workflows. The Homebrew formula API reported stable version 25.1.10 with 248 installs in the previous 30 days as of June 30, 2026.

The input package facts list Homebrew, Chocolatey, MacPorts, Nix, Scoop, and winget packages, reflecting broad packaging for developer workstations and Windows/macOS/Linux operator environments.

### 使われ方

Common workflows begin with `balena login`, then use CLI commands to interact with balenaCloud or openBalena resources. The README calls out proxy support, shell support, command reference docs, troubleshooting, auto-completion, and regular upgrading to stay compatible with backend services.

### パッケージ好きにとっての重要性

balena CLI matters because it is the package-managed entry point to an IoT fleet platform. It turns cloud/device operations into reproducible terminal commands, which makes it important for CI, deployment scripts, support workflows, and developers who need to manage physical devices without living entirely in a web console.

### タイムライン

- 2015-03-02: balena-io/balena-cli repository created on GitHub.
- 2026-04-29: v25.1.0 changelog adds organization management commands.
- 2026-06-29: v25.1.10 released on GitHub.
- 2026-06-30: Homebrew formula reports stable balena-cli 25.1.10.

### Related projects

- balenaCloud and openBalena are the platform targets documented by the README.
- The CLI builds on the balena API and balena SDK, and the changelog shows regular SDK and compose-parser dependency updates.

### ソース

- <https://api.github.com/repos/balena-io/balena-cli>
- <https://api.github.com/repos/balena-io/balena-cli/releases/latest>
- <https://formulae.brew.sh/api/formula/balena-cli.json>
- <https://raw.githubusercontent.com/balena-io/balena-cli/master/CHANGELOG.md>
- <https://raw.githubusercontent.com/balena-io/balena-cli/master/README.md>


## セキュリティノート

infrastructure mutation or orchestration signal.

- **Geiger リスク:** orange / 中
- infrastructure mutation or orchestration signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.balenarc.yml, $PWD/balenarc.yml
- Windows: %UserProfile%\_balenarc.yml, %CD%\balenarc.yml

## Credential files

- Unix: ~/.balena/token
- Windows: %UserProfile%\_balena\token
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** balena-cli
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 他のパッケージマネージャ記録

- Nix - balena-cli: normalized package name match | nixpkgs package indexes: pkgs/by-name/ba/balena-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - balena-cli: normalized package name match | MacPorts ports tree: devel/balena-cli/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - balena-cli: normalized package name match | Chocolatey community package catalog: balena-cli from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','azurestorageemulator'
- Scoop - main/balena-cli: normalized package name match | Scoop official bucket manifest trees: bucket/balena-cli.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Balena.BalenaCLI: normalized package name match | Windows Package Manager source index: Balena.BalenaCLI from https://cdn.winget.microsoft.com/cache/source.msix


## 関連リンク

- [Cloud CLI packages](https://pkg.so/ja/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [node](https://pkg.so/ja/brew/node/) - Runtime dependency declared by Homebrew.
- [go](https://pkg.so/ja/brew/go/) - Build dependency declared by Homebrew.
- [awscli](https://pkg.so/ja/brew/awscli/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure.
- [kubernetes-cli](https://pkg.so/ja/brew/kubernetes-cli/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure.
- [helm](https://pkg.so/ja/brew/helm/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure.
- [azure-cli](https://pkg.so/ja/brew/azure-cli/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure.
- [ansible](https://pkg.so/ja/brew/ansible/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure.
- [colima](https://pkg.so/ja/brew/colima/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure.
- [k9s](https://pkg.so/ja/brew/k9s/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure.
- [flyctl](https://pkg.so/ja/brew/flyctl/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure.
- [firebase-cli](https://pkg.so/ja/brew/firebase-cli/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, cloud, cloud-infrastructure, command-line, infrastructure.
- [vercel](https://pkg.so/ja/brew/vercel/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, cloud, cloud-infrastructure, command-line, infrastructure.
- [doctl](https://pkg.so/ja/brew/doctl/) - Local package facts share a topical domain. Shared terms: api, cli, cloud, cloud-infrastructure, command-line.

## Combined YAML source

View the package source record on GitHub. [combined/balena-cli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/balena-cli.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
