Automic VaultAutomic Vault

brew

Install beancount with Homebrew, apk, apt, dnf, Nix, pacman

Double-entry accounting tool that works on plain text files. Version 3.2.3 via Homebrew; verified 2026-05-06.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install beancount

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add beancount

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

Debian aptverified · 92%
sudo apt install beancount

Debian stable package indexes · beancount · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install beancount

Fedora Rawhide package metadata · beancount · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#beancount

nixpkgs package indexes · beancount · source: raw.githubusercontent.com

Arch Linux pacmanverified · 92%
sudo pacman -S treeify

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

overview

Package summary

Double-entry accounting tool that works on plain text files

Commands and aliases

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

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 2 runtime dependencies.
  • Build metadata lists 3 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
bean-checkcliglobal executable
bean-doctorcliglobal executable
bean-examplecliglobal executable
bean-formatcliglobal executable
treeifycliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version3.2.3
manager updated2026-05-06
local dataok
upstreamnot checked
latest detectednot detected

https://beancount.github.io/

install metadata

Package metadata

Package keybrew:beancount
Version3.2.3
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/beancount
Homepagehttps://beancount.github.io/
Repositoryhttps://github.com/beancount/beancount
Upstream docshttp://furius.ca/beancount/doc/index
LicenseGPL-2.0-only
Source archivehttps://files.pythonhosted.org/packages/eb/21/ed48e671a5e474c620762a7ea9c6b7f402f847d74dd2b73ceb5d2dec79a3/beancount-3.2.3.tar.gz
Last updated2026-05-06T23:28:24Z
Pulseupdated
Dependenciescertifi, python@3.14
Build dependenciesbison, meson, ninja
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

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 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • 3 optional deps
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • installed executable or alias match
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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