# braid を Homebrew でインストール

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

## インストール

```sh
sudo av install brew:braid
```

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

### macOS

- Homebrew (100%):

```sh
brew install braid
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:braid
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/braid>
- **バージョン:** 1.1.10
- **ソース概要:** Simple tool to help track vendor branches in a Git repository
- **ホームページ:** <https://cristibalan.github.io/braid/>
- **リポジトリ:** <https://github.com/cristibalan/braid>
- **上流ドキュメント:** <https://cristibalan.github.io/braid>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/cristibalan/braid/archive/refs/tags/v1.1.10.tar.gz>
- **最終更新:** 2026-04-20T01:21:19Z
- **生成日時:** 2026-07-08T07:18:31+00:00

## 実行可能ファイル

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

## 依存関係

- ruby

## インストール挙動

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

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 1.1.10
- マネージャ更新日: 2026-04-20
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/cristibalan/braid
- 検出された最新: v1.1.10 (最新)
## プロジェクトの歴史と使われ方

Braid is a Ruby command-line tool for tracking vendored Git repositories inside another Git repository. It records vendored mirrors in .braids.json and provides commands to add, update, diff, and push changes back.

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

The GitHub repository for Braid was created in February 2008. Its official site frames the project around the old vendoring problem: projects often copied third-party source into their tree, then struggled to update it or send local changes upstream.

Braid's solution is to keep metadata about the external repository, branch, tag, revision, or subdirectory in .braids.json. That gives a plain Git repository enough memory to update a vendored copy later without converting the vendored directory into a nested repository.

### 採用の歴史

The official documentation presents RubyGems installation with gem install braid, while the input facts record Homebrew packaging. Its audience is narrower than Git itself: teams that deliberately vendor source and need repeatable updates.

Braid remained useful where teams preferred checked-in source copies over package-manager references, especially when local patches or co-evolution with the upstream library made binary package dependencies awkward.

### 使われ方

Typical usage starts with braid add <repo> <path>, which vendors a remote Git repository into a project path and updates .braids.json. Later, braid update pulls upstream changes, braid diff emits local changes as a patch, and braid push can send local changes back to a source branch.

The documentation also covers pinning to branches, tags, or revisions and selecting subdirectories from a remote repository, making Braid a lightweight alternative to manual copy-and-patch vendoring.

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

Braid is interesting because it sits at the boundary between dependency management and version control. It preserves vendored source inside one repository while adding just enough metadata to make updates reproducible.

For package historians, it captures a pre-monorepo, pre-lockfile style of dependency handling common in Ruby and web projects: when package registries existed, but teams still wanted patched source in-tree.

### タイムライン

- 2008-02: The Braid GitHub repository was created.
- 2022-01: The documentation described supported environments as Linux, macOS, and Windows with recent Git and Ruby dependencies.
- 2024: The GitHub repository still showed recent activity in official repository metadata.

### Related projects

- Git is the underlying version-control system Braid extends.
- RubyGems is the installation channel shown in Braid's official documentation.
- Manual vendoring by copying source trees is the workflow Braid was built to improve.

### ソース

- <https://api.github.com/repos/cristibalan/braid>
- <https://cristibalan.github.io/braid>
- 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: <repository-root>/.braids.json
## ソースデータベース詳細

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


## 関連リンク

- [Source-control packages](https://www.automicvault.com/ja/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/ja/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/ja/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [ruby](https://www.automicvault.com/ja/pkg/brew/ruby/) - Runtime dependency declared by Homebrew.
- [codeberg-cli](https://www.automicvault.com/ja/pkg/brew/codeberg-cli/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [dura](https://www.automicvault.com/ja/pkg/brew/dura/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [gcli](https://www.automicvault.com/ja/pkg/brew/gcli/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [git-branchless](https://www.automicvault.com/ja/pkg/brew/git-branchless/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [git-cinnabar](https://www.automicvault.com/ja/pkg/brew/git-cinnabar/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [git-cola](https://www.automicvault.com/ja/pkg/brew/git-cola/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [git-gui](https://www.automicvault.com/ja/pkg/brew/git-gui/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [git-lfs](https://www.automicvault.com/ja/pkg/brew/git-lfs/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [sugarjar](https://www.automicvault.com/ja/pkg/brew/sugarjar/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, control, developer, developer-tools, git.
- [git-delete-merged-branches](https://www.automicvault.com/ja/pkg/brew/git-delete-merged-branches/) - Local package facts share a topical domain. Shared terms: branches, cli, control, developer, developer-tools.
- [git-series](https://www.automicvault.com/ja/pkg/brew/git-series/) - Local package facts share a topical domain. Shared terms: cli, control, developer, developer-tools, git.

## Combined YAML source

View the package source record on GitHub. [combined/braid.yml](https://github.com/automic-vault/db/blob/main/combined/braid.yml)


## ソース

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
