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

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

## インストール

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

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

### macOS

- Homebrew (100%):

```sh
brew install bruno-cli
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## パッケージ情報

- **パッケージキー:** brew:bruno-cli
- **パッケージマネージャ:** Homebrew
- **バージョン:** 4.0.0
- **ソース概要:** CLI of the open-source IDE For exploring and testing APIs
- **ホームページ:** <https://www.usebruno.com/>
- **最終更新:** 2026-07-24T20:50:44Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- bru (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

Bruno CLI is the command-line runner for Bruno, an open-source API client whose collections live as local files rather than in a hosted workspace. In package-manager terms it gives the Bruno collection format a scriptable interface: the GUI remains useful for authoring, while the `bru` executable runs requests, collections, and tests from terminals and CI systems.

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

The CLI tracks the main Bruno project in the usebruno/bruno monorepo. Its changelog shows an early 0.x period adding operational features such as custom CA support, insecure TLS mode, environment-variable loading, output capture, proxy support, and authentication fixes before the 1.0.0 stable CLI release.

On 6 Feb 2024 the project changed release practice so that a new CLI version would be released with every Bruno application release. That tied the package-manager-facing `bruno-cli` artifact more closely to Bruno's desktop/API-client release cadence.

### 採用の歴史

Bruno CLI's adoption follows Bruno's larger appeal to developers who want API collections in git and local files instead of a cloud-synced service. The provided package facts show Homebrew and Nix packaging, which is enough to make `bru` convenient on macOS/Linux developer machines and in reproducible environments.

The official docs position the CLI for automated API testing, report generation, and CI/CD integration, making it the part of Bruno most likely to appear in build logs and package manifests.

### 使われ方

Common usage is to run Bruno requests or collections from a project checkout, select environments, pass environment variables, and emit machine-readable reports such as JSON, JUnit, or HTML for test pipelines.

The CLI became more security-conscious over time: the official docs note that Bruno CLI v3.0.0 changed the default runtime from Developer Mode to Safe Mode, requiring an explicit sandbox flag for filesystem or external-package behavior.

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

For package nerds, `bruno-cli` is interesting because it packages an API-client workflow as a normal Unix command. It is part of the broader shift from GUI-only API tools toward repository-native collections that can be reviewed, diffed, and executed in CI.

Its significance is not that it invented HTTP scripting, but that it makes Bruno's local collection format viable outside the desktop app, giving package managers a clean hook into API regression testing.

### タイムライン

- 2023: Early 0.x CLI releases add TLS, environment, output, proxy, and authentication features.
- 2023: Bruno CLI 1.0.0 is marked as the stable release in the CLI changelog.
- 2024-02-06: The project announces that each Bruno app release will also have a matching CLI release.
- 2026: Official CLI documentation describes collection execution, report generation, CI/CD integration, and the v3.0.0 Safe Mode default.

### Related projects

- Bruno desktop app is the authoring environment and main upstream project for the CLI.
- Postman and Insomnia are adjacent API-client ecosystems; Bruno CLI occupies the package-manager-friendly lane for Bruno collections.
- Newman is a useful comparison point as the command-line runner for Postman collections.

### ソース

- <https://docs.usebruno.com/bru-cli/overview>
- <https://github.com/usebruno/bruno>
- <https://raw.githubusercontent.com/usebruno/bruno/main/packages/bruno-cli/changelog.md>
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


## 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: <collection>/bruno.json, <collection>/opencollection.yml
## 他のパッケージマネージャ記録

- Nix - bruno-cli: normalized package name match | nixpkgs package indexes: pkgs/by-name/br/bruno-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/bruno-cli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/bruno-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
