# bar を Homebrew, apt, Nix でインストール

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

## インストール

```sh
sudo av install brew:bar
```

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

### macOS

- Homebrew (100%):

```sh
brew install bar
```

  証拠: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install bar
```

  証拠: Debian stable package indexes: bar from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#bar
```

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

## パッケージ情報

- **パッケージキー:** brew:bar
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/bar>
- **バージョン:** 1.4
- **ソース概要:** Provide progress bars for shell scripts
- **ホームページ:** <http://www.theiling.de/projects/bar.html>
- **上流ドキュメント:** <http://www.theiling.de/projects/bar.html>
- **ライセンス:** Zlib
- **ソースアーカイブ:** <http://www.theiling.de/downloads/bar-1.4-src.tar.bz2>
- **最終更新:** 2026-05-19T13:03:28-04:00
- **生成日時:** 2026-07-08T07:18:31+00:00

## 実行可能ファイル

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

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 all

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 1.4
- マネージャ更新日: 2026-05-19
- ローカルデータ: OK
- 上流リポジトリ: http://www.theiling.de/projects/bar.html
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

bar is a small Bourne-shell utility that behaves like cat while showing an ASCII progress bar, aimed at portable Unix installation and scripting contexts.

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

Henrik Theiling's project page frames bar as deliberately minimal shell code that needs no compilation and works across sh, ash, ksh, zsh, bash, and related Bourne-style shells. The design goal is portability first: when progress display cannot be supported safely, the script is intended to fall back toward plain cat behavior.

The upstream change log records a compact evolution from version 1.0's initial release through 1.1 percentage and terminal-width support, 1.2 robustness fixes across shells and systems, 1.3 feature additions such as ETA and configurable sizing, and 1.4 bug fixes.

### 採用の歴史

bar's adoption is narrow but very Unix-shaped: it appears in Homebrew, Debian, Ubuntu, and Nix package metadata as a tiny helper for shell scripts rather than as a large standalone application.

### 使われ方

The typical use is to pipe or copy data while presenting a text progress indicator in an install script or other shell workflow. Its upstream page emphasizes embedding or reusing the script body in portable installers.

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

bar is interesting because it solves a common packaging-era problem without a compiled dependency, curses UI, or modern shell assumptions. It is the sort of small, old-school utility that package managers preserve because it remains useful in constrained Unix environments.

### タイムライン

- Version 1.0: Initial beta release.
- Version 1.1: Adds percentage display and terminal-width detection.
- Version 1.2: Focuses on robustness across Bourne shells and operating systems.
- Version 1.3.1: Adds ETA, quiet mode, size overrides, and script-dumping features after a broken 1.3 prerelease.
- Version 1.4: Stable bug-fix release.

### Related projects

- bar overlaps with cat, dd, pv, and shell progress-bar snippets, but its upstream niche is stricter portability and embeddability in Bourne-shell install scripts.

### ソース

- <http://www.theiling.de/projects/bar.html>
- source_facts.description
- source_facts.package-manager


## セキュリティノート

generalized runtime or code generation signal.

- **Geiger リスク:** yellow / 中
- generalized runtime or code generation signal

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

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

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

- Debian apt - bar - 1.11.1-4: normalized package name match | Debian stable package indexes: bar from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Show information about a data transfer
- Nix - bar: normalized package name match | nixpkgs package indexes: pkgs/by-name/ba/bar/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - bar - 1.11.1-4: normalized package name match | Ubuntu 24.04 LTS package indexes: bar from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Show information about a data transfer


## 関連リンク

- [Secret-risk packages](https://www.automicvault.com/ja/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [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.
- [fish](https://www.automicvault.com/ja/pkg/brew/fish/) - Shares av.db curated category or tags: cli, developer-tools, scripting, shell.
- [xonsh](https://www.automicvault.com/ja/pkg/brew/xonsh/) - Shares av.db curated category or tags: cli, developer-tools, scripting, shell.
- [zsh](https://www.automicvault.com/ja/pkg/brew/zsh/) - Shares av.db curated category or tags: cli, developer-tools, scripting, shell.
- [aliae](https://www.automicvault.com/ja/pkg/brew/aliae/) - Shares av.db curated category or tags: cli, developer-tools, shell.
- [checkbashisms](https://www.automicvault.com/ja/pkg/brew/checkbashisms/) - Shares av.db curated category or tags: cli, developer-tools, shell.
- [desk](https://www.automicvault.com/ja/pkg/brew/desk/) - Shares av.db curated category or tags: cli, developer-tools, shell.
- [fizsh](https://www.automicvault.com/ja/pkg/brew/fizsh/) - Shares av.db curated category or tags: cli, developer-tools, shell.
- [mcfly](https://www.automicvault.com/ja/pkg/brew/mcfly/) - Shares av.db curated category or tags: cli, developer-tools, shell.

## Combined YAML source

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


## ソース

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
