macOS
brew install hledgerlocal Homebrew formula metadata
sudo port install hledgerMacPorts ports tree · finance/hledger/Portfile · ソース: api.github.com
brew
hledger のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install hledgerlocal Homebrew formula metadata
sudo port install hledgerMacPorts ports tree · finance/hledger/Portfile · ソース: api.github.com
sudo apk add hledgerAlpine Linux edge package indexes · hledger · ソース: dl-cdn.alpinelinux.org
sudo apt install hledgerDebian stable package indexes · hledger · ソース: deb.debian.org
sudo dnf install hledgerFedora Rawhide package metadata · hledger · ソース: dl.fedoraproject.org
nix profile install nixpkgs#hledgernixpkgs package indexes · hledger · ソース: raw.githubusercontent.com
sudo pacman -S hledgerArch Linux sync databases · hledger · ソース: geo.mirror.pkgbuild.com
sudo zypper install hledgeropenSUSE Tumbleweed package metadata · hledger · ソース: download.opensuse.org
scoop install main/hledgerScoop official bucket manifest trees · bucket/hledger.json · ソース: api.github.com
winget install --id simonmichael.hledger -eWindows Package Manager source index · simonmichael.hledger · ソース: cdn.winget.microsoft.com
概要
Easy plain text accounting with command-line, terminal and web UIs
履歴
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.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
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.conf実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
hledger | cli | グローバル実行可能ファイル | |
hledger-ui | cli | グローバル実行可能ファイル | |
hledger-web | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/simonmichael/hledger
インストールメタデータ
| パッケージキー | brew:hledger |
|---|---|
| バージョン | 1.52.1 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/hledger |
| ホームページ | https://hledger.org/ |
| リポジトリ | https://github.com/simonmichael/hledger |
| 上流ドキュメント | https://hledger.org/doc.html |
| ライセンス | GPL-3.0-or-later |
| ソースアーカイブ | https://github.com/simonmichael/hledger/archive/refs/tags/1.52.1.tar.gz |
| 最終更新 | 2026-07-24T01:58:27Z |
| Pulse | updated |
| 依存関係 | gmp, libyaml |
| ビルド依存関係 | ghc, haskell-stack, pkgconf |
| macOS 提供ライブラリ | libffi, ncurses |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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-quotソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.