# bosh-cli を Homebrew, Nix でインストール

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

## インストール

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

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

### macOS

- Homebrew (100%):

```sh
brew install bosh-cli
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## パッケージ情報

- **パッケージキー:** brew:bosh-cli
- **パッケージマネージャ:** Homebrew
- **バージョン:** 7.10.8
- **ソース概要:** Cloud Foundry BOSH CLI v2
- **ホームページ:** <https://bosh.io/docs/cli-v2/>
- **リポジトリ:** <https://github.com/cloudfoundry/bosh-cli>
- **最終更新:** 2026-07-28T04:53:59Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- bosh-cli (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 7.10.8
## プロジェクトの歴史と使われ方

BOSH CLI is the command-line interface for Cloud Foundry BOSH, the release engineering, deployment, and lifecycle-management system used to operate large distributed software across clouds.

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

BOSH began as Cloud Foundry infrastructure tooling, combining release packaging, stemcells, deployment manifests, VM lifecycle management, monitoring, recovery, and rolling updates. The BOSH site presents it as a project for managing both small and large-scale cloud software.

The Homebrew package is specifically the Go-based BOSH CLI v2 line. Its repository was created in 2016, and BOSH documentation distinguishes it from the older Ruby-based CLI v1, noting that v2 is stateless and uses hyphenated single commands.

### 採用の歴史

BOSH CLI adoption follows BOSH itself: Cloud Foundry operators use it to deploy directors, upload releases and stemcells, inspect deployments, run errands, and apply manifest changes. Cloud Foundry deployment documentation explicitly says Cloud Foundry leverages BOSH for deployment, lifecycle management, and distributed-systems monitoring.

The batch input records Homebrew and Nix packaging, reflecting its role as an operator workstation tool rather than an end-user application.

### 使われ方

Operators use the CLI to target BOSH environments, log in, interpolate variables, upload releases and stemcells, deploy manifests, inspect VMs, run tasks, and manage BOSH releases. The CLI docs are organized around those operational commands.

The CLI stores its local configuration under ~/.bosh/config, but v2 expects more state to be supplied explicitly through environments, aliases, flags, and manifest files compared with the old Ruby CLI workflow.

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

BOSH CLI is significant because it is one of the classic Cloud Foundry operator tools: small as a package, but connected to a deep ecosystem of releases, stemcells, directors, CPIs, and cloud deployments.

The v1-to-v2 transition is package-history relevant because it moved the operator CLI from a Ruby gem era to a Go binary era, changing installation and packaging expectations.

### タイムライン

- 2016-08: Official GitHub repository metadata shows cloudfoundry/bosh-cli created.
- 2018: GitHub release metadata shows v5.0.1 in the public release feed.
- 2026: Repository metadata and package-manager input show ongoing maintenance and Homebrew/Nix distribution.

### Related projects

- cloudfoundry/bosh is the wider BOSH release and director project that the CLI operates.
- bosh-deployment provides manifests and operations files for deploying BOSH directors.
- Cloud Foundry cf-deployment is a major downstream deployment workflow that relies on BOSH.

### ソース

- <https://api.github.com/repos/cloudfoundry/bosh-cli>
- <https://bosh.io/>
- <https://bosh.io/docs/cli-v2-diff/>
- <https://bosh.io/docs/cli-v2-install/>
- <https://bosh.io/docs/cli-v2/>
- <https://docs.cloudfoundry.org/deploying/index.html>
- <https://github.com/cloudfoundry/bosh-cli>
- source_facts.package-manager


## セキュリティノート

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: ~/.bosh/config
## 他のパッケージマネージャ記録

- Nix - bosh-cli: normalized package name match | nixpkgs package indexes: pkgs/by-name/bo/bosh-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

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


## ソース

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