# bash-git-prompt を Homebrew, Nix, zypper でインストール

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

## インストール

```sh
sudo av install brew:bash-git-prompt
```

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

### macOS

- Homebrew (100%):

```sh
brew install bash-git-prompt
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#bash-git-prompt
```

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

- zypper (92%):

```sh
sudo zypper install bash-git-prompt
```

  証拠: openSUSE Tumbleweed package metadata: bash-git-prompt from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:bash-git-prompt
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/bash-git-prompt>
- **バージョン:** 2.7.1
- **ソース概要:** Informative, fancy bash prompt for Git users
- **ホームページ:** <https://github.com/magicmonty/bash-git-prompt>
- **リポジトリ:** <https://github.com/magicmonty/bash-git-prompt>
- **ライセンス:** BSD-2-Clause
- **ソースアーカイブ:** <https://github.com/magicmonty/bash-git-prompt/archive/refs/tags/2.7.1.tar.gz>
- **生成日時:** 2026-08-04T22:13:35+00:00

## インストール挙動

- post-install フック: 未定義
- 注意点: You should add the following to your .bashrc (or .bash_profile): if [ -f "$HOMEBREW_PREFIX/opt/bash-git-prompt/share/gitprompt.sh" ]; then __GIT_PROMPT_DIR="$HOMEBREW_PREFIX/opt/bash-git-prompt/share" source "$HOMEBREW_PREFIX/opt/bash-git-prompt/share/gitprompt.sh" fi
- Bottle: 利用可能 対象 all

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 2.7.1
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/magicmonty/bash-git-prompt
- 検出された最新: 2.7.1 (最新)
- 情報: No package-manager update timestamp was available.

## セキュリティノート

bash-git-prompt に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、パッケージメタデータはここに公開されています。


## ソースデータベース詳細

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

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

- Nix - bash-git-prompt: normalized package name match | nixpkgs package indexes: pkgs/by-name/ba/bash-git-prompt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- zypper - bash-git-prompt - 2.7.1-4.3: normalized package name match | openSUSE Tumbleweed package metadata: bash-git-prompt from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Informative git prompt for bash and fish | https://github.com/magicmonty/bash-git-prompt


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [bash-snippets](https://pkg.so/ja/brew/bash-snippets/) - Package names and metadata indicate a similar tool family. Shared terms: bash, users.
- [bash-completion@2](https://pkg.so/ja/brew/bash-completion-2/) - Package names and metadata indicate a similar tool family. Shared terms: bash.
- [bash-language-server](https://pkg.so/ja/brew/bash-language-server/) - Package names and metadata indicate a similar tool family. Shared terms: bash.

## ソース

- pkg.so package database
- package-page enrichment
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
