macOS
brew install hledgerlocal Homebrew formula metadata
sudo port install hledgerMacPorts ports tree · finance/hledger/Portfile · source: api.github.com
brew
Easy plain text accounting with command-line, terminal and web UIs. Version 1.52.1 via Homebrew; verified 2026-04-29.
install
brew install hledgerlocal Homebrew formula metadata
sudo port install hledgerMacPorts ports tree · finance/hledger/Portfile · source: api.github.com
sudo apk add hledgerAlpine Linux edge package indexes · hledger · source: dl-cdn.alpinelinux.org
sudo apt install hledgerDebian stable package indexes · hledger · source: deb.debian.org
sudo dnf install ghc-hledgerFedora Rawhide package metadata · ghc-hledger · source: dl.fedoraproject.org
nix profile install nixpkgs#hledgernixpkgs package indexes · hledger · source: raw.githubusercontent.com
sudo pacman -S hledgerArch Linux sync databases · hledger · source: geo.mirror.pkgbuild.com
sudo zypper install ghc-hledgeropenSUSE Tumbleweed package metadata · ghc-hledger · source: download.opensuse.org
scoop install main/hledgerScoop official bucket manifest trees · bucket/hledger.json · source: api.github.com
winget install --id simonmichael.hledger -eWindows Package Manager source index · simonmichael.hledger · source: cdn.winget.microsoft.com
overview
Easy plain text accounting with command-line, terminal and web UIs
history
hledger is Simon Michael's Haskell implementation in the plain-text accounting family: a command-line, terminal, and web accounting tool that stores financial data in human-readable journal files and reports on money, investments, time, inventory, and other countable commodities.
hledger was created as a Haskell response to Ledger, the earlier command-line tool that pioneered plain text accounting. The hledger FAQ says the project was motivated by making finance work more enjoyable, by frustration with Ledger's stalled development and rough edges, and by the desire to build a more usable, robust, documented, cross-platform-installable version in Haskell.
The README describes the codebase as continually improved since 2007, with a focus on reliability, maintainability, and practical everyday accounting. hledger's design keeps the plain-text journal at the center while offering multiple interfaces: hledger for the CLI, hledger-ui for a terminal interface, and hledger-web for a browser UI.
hledger has grown inside the broader Plain Text Accounting ecosystem. The hledger manual states that it is inspired by and largely compatible with ledger(1), and largely interconvertible with beancount(1). The hledger and Ledger page describes hledger as a reimplementation of Ledger's best parts with stronger focus on UX, reliability, consistency, and real-world practicality.
In 2026, the README records a branch split: the former master branch became hledger1 and work began on hledger 2.x in main. The stated 2.x goals include better lot tracking and capital gains calculation, more interoperability, more speed, easier contribution, and continued reliability.
hledger adoption is tied to the plain-text accounting community: users choose editable text files, version control, scripts, and transparent data over database-backed personal finance applications. The README names the Plain Text Accounting ecosystem, documentation, videos, tutorials, editor/IDE integrations, mobile and web interfaces, and a contributor base as part of the project context.
The Homebrew input facts show broad packaging across Alpine, Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Scoop, Ubuntu, WinGet, and openSUSE. That breadth matters because hledger is used by individuals and organizations on Unix, macOS, and Windows workstations.
The hledger FAQ frames the project's mission beyond a single executable: making plain text accounting more usable and useful, reducing finance and financial-technology stress, and supporting a thriving ecosystem of financial software projects.
hledger reads journal files containing dated double-entry transactions, then produces reports such as balance sheets, income statements, registers, budgets, and cashflow views. Users can edit data directly in a text editor, import CSV from banks, use terminal data-entry tools, use hledger-web, or integrate it into scripts and version-control workflows.
The manual describes hledger as a robust, user-friendly, cross-platform set of programs for tracking money, time, or any other commodity. The README highlights CSV import/export, text/HTML/JSON/SQL output, multi-currency support, high precision, and scriptability through CLI, HTTP, or API.
hledger is important to package nerds because it treats accounting data as durable text. That makes backups, diffs, version control, review, automation, and migration tractable in a way that opaque finance-app databases often are not.
It also anchors one of the most package-manager-friendly corners of personal finance software: a Haskell executable suite with CLI/TUI/web surfaces, docs shipped with the tool, and broad distro packaging. For users who prefer reproducible environments and text-first workflows, hledger is one of the central packages in the plain-text accounting toolbox.
Its relationship to Ledger and Beancount makes it part of a larger lineage rather than an isolated app. Package maintainers and users often evaluate the three together: Ledger for the original format and C++ implementation, Beancount for Python-oriented workflows, and hledger for Haskell, cross-platform installability, and active UX-focused maintenance.
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.
hledger.conf~/.hledger.conf~/.config/hledger/hledger.confexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
hledger | cli | global executable | |
hledger-ui | cli | global executable | |
hledger-web | 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/simonmichael/hledger
install metadata
| Package key | brew:hledger |
|---|---|
| Version | 1.52.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/hledger |
| Homepage | https://hledger.org/ |
| Repository | https://github.com/simonmichael/hledger |
| Upstream docs | https://hledger.org/doc.html |
| License | GPL-3.0-or-later |
| Source archive | https://github.com/simonmichael/hledger/archive/refs/tags/1.52.1.tar.gz |
| Last updated | 2026-04-29T13:06:53Z |
| Pulse | updated |
| Dependencies | gmp |
| Build dependencies | ghc, haskell-stack |
| Uses from macOS | libffi, ncurses |
| 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 | hledger |
| Version Scheme | 0 |
| Revision | 0 |
| 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.
hledger 1.32.3-1+b2
command-line double-entry accounting program
sudo apt install hledgerhledger
nix profile install nixpkgs#hledgerhledger 1.30.1-1
command-line double-entry accounting program
sudo apt install hledgerhledger 1.52-r0
Command-line interface for the hledger accounting system
https://hledger.org/hledger.html
sudo apk add hledgerhledger-bash-completion 1.52-r0
Bash completions for hledger
https://hledger.org/hledger.html
sudo apk add hledger-bash-completionhledger-doc 1.52-r0
Command-line interface for the hledger accounting system (documentation)
https://hledger.org/hledger.html
sudo apk add hledger-dochledger-ui 1.52-r0
Curses-style terminal interface for the hledger accounting system
https://hledger.org/hledger-ui.html
sudo apk add hledger-uihledger-ui-doc 1.52-r0
Curses-style terminal interface for the hledger accounting system (documentation)
https://hledger.org/hledger-ui.html
sudo apk add hledger-ui-dochledger-web 1.52-r0
Web interface for the hledger accounting system
https://hledger.org/hledger-web.html
sudo apk add hledger-webhledger-web-doc 1.52-r0
Web interface for the hledger accounting system (documentation)
https://hledger.org/hledger-web.html
sudo apk add hledger-web-dochledger-web-openrc 1.52-r0
Web interface for the hledger accounting system (OpenRC init scripts)
https://hledger.org/hledger-web.html
sudo apk add hledger-web-openrcghc-hledger 1.43.2-18.fc44
Haskell hledger library
https://hackage.haskell.org/package/hledger
sudo dnf install ghc-hledgerghc-hledger-devel 1.43.2-18.fc44
Haskell hledger library development files
https://hackage.haskell.org/package/hledger
sudo dnf install ghc-hledger-develghc-hledger-doc 1.43.2-18.fc44
Haskell hledger library documentation
https://hackage.haskell.org/package/hledger
sudo dnf install ghc-hledger-docghc-hledger-prof 1.43.2-18.fc44
Haskell hledger profiling library
https://hackage.haskell.org/package/hledger
sudo dnf install ghc-hledger-profghc-quote-quot 0.2.1.0-18.fc44
Haskell quote-quot library
https://hackage.haskell.org/package/quote-quot
sudo dnf install ghc-quote-quotsource 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.