Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, Nix, pacman 安装 beancount

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install beancount

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add beancount

Alpine Linux edge package indexes · beancount · 来源: dl-cdn.alpinelinux.org

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

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

Fedora dnf已验证 · 92%
sudo dnf install beancount

Fedora Rawhide package metadata · beancount · 来源: dl.fedoraproject.org

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

nixpkgs package indexes · beancount · 来源: raw.githubusercontent.com

Arch Linux pacman已验证 · 92%
sudo pacman -S treeify

Arch Linux sync databases · treeify · 来源: geo.mirror.pkgbuild.com

概览

软件包摘要

Double-entry accounting tool that works on plain text files

命令和别名

  • bean-check
  • bean-doctor
  • bean-example
  • bean-format
  • treeify

历史

项目历史与用法

Beancount is Martin Blais's plain-text, double-entry accounting system: users keep financial records in text files, validate them, query them, and generate reports or web views from the same ledger data.

In package-manager culture it sits in the same command-line-accounting family as Ledger and hledger, but with a Python implementation, an explicit grammar, inventory-aware reporting, and a strong bias toward durable text data.

项目历史

The official history says John Wiegley's Ledger inspired the first Beancount. Blais first experimented with a Python interface to Ledger, then rewrote the idea in Python so one parsed transaction database could serve multiple reports and a web UI.

Beancount version 1 was used continuously by its author for personal, company, and joint-property finances from 2008 to 2012. In 2013, Blais redesigned the system around better inventory and capital-gains handling, a lex/yacc-parsed input language, and a cleaner internal model; this became Beancount version 2.

The README describes three generations: v1 as the original Ledger-like implementation, v2 as the 2013 rewrite and long-running stable branch, and v3 as the stable line since June 2024, trimmed down so several former v2 tools live as independent GitHub projects.

采用历史

Beancount grew out of real personal-accounting use rather than a vendor product. Its README notes use by many users, companies, and foundations since the project began around 2007, while the history page emphasizes several years of the author's own ledger data as design pressure.

The package is available through many Unix package systems in the supplied metadata, including Homebrew, Debian, Ubuntu, Fedora, Alpine, Nix, and related distributions, which is typical for command-line accounting tools that users want installed beside editors, shell scripts, and version control.

使用方式

Common command-line entry points include bean-check for validation, bean-format for formatting, bean-doctor for diagnostics, bean-example for sample data, and treeify. Users normally edit a ledger file directly, then run Beancount tools against that file.

The Beancount query language adds a SQL-like shell over parsed accounting entries. Its documentation explains that ordinary SQL export was not enough for inventory and lot-aware accounting, so Beancount provides accounting-specific query semantics.

为什么软件包爱好者会关心

Beancount matters to package nerds because it is finance software that behaves like source code: text files, reproducible command-line checks, scriptable reporting, and data that can be kept in Git for decades.

Its history captures a classic Unix-package story: a domain expert liked an existing text tool, rebuilt the model with stricter semantics, and then let the ecosystem split into small installable tools as the core matured.

时间线

  • 2008: Official history records Beancount as begun, after Ledger inspired the first version.
  • 2008-2012: The author used Beancount v1 continuously for personal, company, and joint-property finances.
  • 2013: Beancount v2 was rewritten from scratch with a new grammar and cleaner inventory model.
  • 2014: The official history and query-language documentation were published as part of a larger documentation effort.
  • 2020-2024: The README describes v2 as the previous stable version in maintenance mode.
  • 2024: Beancount v3 became the current stable version in June, with several former tools moved into independent projects.

Related projects

  • Ledger and hledger are the closest related command-line accounting projects; the Beancount docs explicitly compare them and credit Ledger as the original inspiration.
  • beanquery is the SQL-like query tool associated with Beancount ledgers. LedgerHub is described in Beancount documentation as an import-automation design related to Beancount workflows.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 2 个运行时依赖。
  • 构建元数据列出 3 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
bean-checkcli全局可执行文件
bean-doctorcli全局可执行文件
bean-examplecli全局可执行文件
bean-formatcli全局可执行文件
treeifycli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://beancount.github.io/

安装元数据

软件包元数据

软件包键brew:beancount
版本3.2.3
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/beancount
主页https://beancount.github.io/
仓库https://github.com/beancount/beancount
上游文档http://furius.ca/beancount/doc/index
许可证GPL-2.0-only
源码归档https://files.pythonhosted.org/packages/eb/21/ed48e671a5e474c620762a7ea9c6b7f402f847d74dd2b73ceb5d2dec79a3/beancount-3.2.3.tar.gz
最后更新2026-05-06T23:28:24Z
Pulseupdated
依赖certifi, python@3.14
构建依赖bison, meson, ninja
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

beancount 3.1.0-3

Double-entry accounting from text files

https://github.com/beancount/

sudo apt install beancount
  • Section: utils
  • Architecture: all
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Beancount
Debian stable package indexes · deb.debian.org · Debian stable package indexes: beancount from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-beancount 3.1.0-3

Double-entry accounting from text files - Python module

https://github.com/beancount/

sudo apt install python3-beancount
  • Section: python
  • Architecture: amd64
  • Source Package: beancount
  • 10 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Beancount
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-beancount from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

beancount

nix profile install nixpkgs#beancount
  • normalized package name match
  • 匹配方式:Beancount
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: beancount from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

beancount 2.3.6-1build1

Double-entry accounting from text files

https://github.com/beancount/

sudo apt install beancount
  • Section: universe/utils
  • Architecture: all
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Beancount
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: beancount from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

python3-beancount 2.3.6-1build1

Double-entry accounting from text files - Python module

https://github.com/beancount/

sudo apt install python3-beancount
  • Section: universe/python
  • Architecture: amd64
  • Source Package: beancount
  • 11 依赖
  • normalized package name match
  • 匹配方式:Beancount
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-beancount from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

beancount 2.3.6-r1

Double-Entry Accounting from Text Files

https://beancount.github.io/

sudo apk add beancount
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: beancount
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Beancount
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: beancount from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

beancount-pyc 2.3.6-r1

Precompiled Python bytecode for beancount

https://beancount.github.io/

sudo apk add beancount-pyc
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: beancount
  • 1 依赖
  • normalized package name match
  • 匹配方式:Beancount
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: beancount-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

beancount 3.1.0-7.fc45

Double-Entry Accounting from Text Files

https://beancount.github.io/docs/

sudo dnf install beancount
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: python-beancount
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Beancount
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: beancount from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman92%

treeify r7958.90292b20-3

Display a list of files as a tree

https://github.com/grawity/code/blob/master/misc/treeify

sudo pacman -S treeify
  • License: MIT
  • Architecture: any
  • 1 依赖
  • installed executable or alias match
  • 匹配方式:Treeify
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: treeify from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.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