macOS
brew install ledgerlocal Homebrew formula metadata
sudo port install ledgerMacPorts ports tree · finance/ledger/Portfile · source: api.github.com
brew
Command-line, double-entry accounting tool. Version 3.4.1 via Homebrew; verified 2026-06-22.
install
brew install ledgerlocal Homebrew formula metadata
sudo port install ledgerMacPorts ports tree · finance/ledger/Portfile · source: api.github.com
sudo apk add ledgerAlpine Linux edge package indexes · ledger · source: dl-cdn.alpinelinux.org
sudo apt install ledgerDebian stable package indexes · ledger · source: deb.debian.org
sudo dnf install ledgerFedora Rawhide package metadata · ledger · source: dl.fedoraproject.org
nix profile install nixpkgs#ledgernixpkgs package indexes · pkgs/by-name/le/ledger/package.nix · source: api.github.com
sudo pacman -S ledgerArch Linux sync databases · ledger · source: geo.mirror.pkgbuild.com
sudo zypper install ledgeropenSUSE Tumbleweed package metadata · ledger · source: download.opensuse.org
overview
Command-line, double-entry accounting tool
history
Ledger is a command-line, double-entry accounting system built around plain-text journals. Users write transactions in Ledger's text format and run reports from the Unix shell without a separate database.
The official Ledger site says Ledger began in 2003, was written by John Wiegley, and is released under the BSD license. Its design centers on text files, double-entry accounting, and report generation rather than a graphical accounting database.
The GitHub repository continues that positioning: Ledger reads text files, generates reports, and stores no other database state. The project accumulated a long 3.x release history, with signed tags and release maintenance visible through the ledger/ledger repository.
Ledger became one of the foundational tools in the plain-text accounting community. Package-manager coverage across Homebrew, Debian, Ubuntu, Fedora, Arch, MacPorts, Nix, Alpine, and openSUSE reflects adoption by Unix users who prefer version-controlled finance data and scriptable reports.
The basic workflow is to keep a journal file of dated transactions, then run commands such as balance, register, equity, prices, and other reports. The documentation emphasizes that Ledger has no graphical interface and returns accounting to text journals and shell output.
Ledger is package-nerd significant because it helped define plain-text accounting as a durable command-line category. It also inspired ports and related tools, including editor modes, hledger, Beancount, and ecosystem utilities that treat financial records as auditable text.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
$XDG_CONFIG_HOME~/.config/ledger/ledgerrc~/.ledgerrc./.ledgerrcexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
ledger | cli | global executable |
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.
https://github.com/ledger/ledger
install metadata
| Package key | brew:ledger |
|---|---|
| Version | 3.4.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/ledger |
| Homepage | https://ledger-cli.org/ |
| Repository | https://github.com/ledger/ledger |
| Upstream docs | https://ledger-cli.org/doc/ledger.1.html |
| License | BSD-3-Clause |
| Source archive | https://github.com/ledger/ledger/archive/refs/tags/v3.4.1.tar.gz |
| Last updated | 2026-06-22T14:05:09-07:00 |
| Pulse | updated |
| Dependencies | boost, gmp, gpgme, gpgmepp, libassuan, mpfr, python@3.14 |
| Build dependencies | cmake, texinfo |
| Uses from macOS | libedit |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ledger |
| Version Scheme | 0 |
| Revision | 1 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
ledger 3.3.2-1+b4
command-line double-entry accounting program
sudo apt install ledgerpython3-ledger 3.3.2-1+b4
command-line double-entry accounting program (python3 extension)
sudo apt install python3-ledgerledger
nix profile install nixpkgs#ledgerledger 3.3.2-1build4
command-line double-entry accounting program
sudo apt install ledgerpython3-ledger 3.3.2-1build4
command-line double-entry accounting program (python3 extension)
sudo apt install python3-ledgerledger 3.4.1-r0
Double-entry accounting system with a command-line reporting interface
sudo apk add ledgerledger-doc 3.4.1-r0
Double-entry accounting system with a command-line reporting interface (documentation)
sudo apk add ledger-docledger 3.3.2-5.fc44
A powerful command-line double-entry accounting system
sudo dnf install ledgerledger-devel 3.3.2-5.fc44
Libraries and header files for ledger development
sudo dnf install ledger-develledger 3.4.1-5
Double-entry accounting system with a command-line reporting interface
sudo pacman -S ledgerledger 3.3.2-4.5
Double-entry accounting system with a command-line reporting interface
https://github.com/ledger/ledger
sudo zypper install ledgerledger
sudo port install ledgersource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.