Automic VaultAutomic Vault

brew

使用 Homebrew, apt, Nix 安装 bar

查看 bar 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install bar

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install bar

Debian stable package indexes · bar · 来源: deb.debian.org

Nix已验证 · 92%
nix profile install nixpkgs#bar

nixpkgs package indexes · pkgs/by-name/ba/bar/package.nix · 来源: api.github.com

概览

软件包摘要

Provide progress bars for shell scripts

命令和别名

  • bar

历史

项目历史与用法

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.

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:shell

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
barcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本1.4
管理器更新时间2026-05-19
本地数据OK
上游not checked
检测到的最新版本未检测到

http://www.theiling.de/projects/bar.html

安装元数据

软件包元数据

软件包键brew:bar
版本1.4
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/bar
主页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
Pulseupdated
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namebar
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedyes
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

bar 1.11.1-4

Show information about a data transfer

sudo apt install bar
  • Section: utils
  • Architecture: amd64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Bar
Debian stable package indexes · deb.debian.org · Debian stable package indexes: bar from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

bar

nix profile install nixpkgs#bar
  • normalized package name match
  • 匹配方式:Bar
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ba/bar/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

bar 1.11.1-4

Show information about a data transfer

sudo apt install bar
  • Section: universe/utils
  • Architecture: amd64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Bar
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: bar from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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