Automic VaultAutomic Vault

brew

hledger を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget でインストール

hledger のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install hledger

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install hledger

MacPorts ports tree · finance/hledger/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add hledger

Alpine Linux edge package indexes · hledger · ソース: dl-cdn.alpinelinux.org

Debian apt確認済み · 92%
sudo apt install hledger

Debian stable package indexes · hledger · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install hledger

Fedora Rawhide package metadata · hledger · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#hledger

nixpkgs package indexes · hledger · ソース: raw.githubusercontent.com

Arch Linux pacman確認済み · 92%
sudo pacman -S hledger

Arch Linux sync databases · hledger · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install hledger

openSUSE Tumbleweed package metadata · hledger · ソース: download.opensuse.org

Windows

Scoop確認済み · 92%
scoop install main/hledger

Scoop official bucket manifest trees · bucket/hledger.json · ソース: api.github.com

Windows Package Manager確認済み · 92%
winget install --id simonmichael.hledger -e

Windows Package Manager source index · simonmichael.hledger · ソース: cdn.winget.microsoft.com

概要

パッケージ概要

Easy plain text accounting with command-line, terminal and web UIs

コマンドとエイリアス

  • hledger
  • hledger-ui
  • hledger-web

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 2007: hledger development lineage begins according to the project README.
  • 2008: hledger maintenance and support era is described on the hledger and Ledger page.
  • 2013-04-08: The simonmichael/hledger GitHub repository was created.
  • 2026: The former master branch was renamed hledger1 and hledger 2.x work began in main.

Related projects

  • Ledger: the original plain-text accounting CLI and file-format influence.
  • Beancount: a Python plain-text accounting system that hledger documentation names as largely interconvertible.
  • PlainTextAccounting.org: the ecosystem portal maintained by Simon Michael for related tools, docs, and community resources.
  • hledger-ui and hledger-web: sibling interfaces shipped in the hledger suite.

セキュリティ状態

リスクレベル: グリーン

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 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
hledger.conf~/.hledger.conf~/.config/hledger/hledger.conf

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
hledgercliグローバル実行可能ファイル
hledger-uicliグローバル実行可能ファイル
hledger-webcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版1.52.1
マネージャ更新日2026-07-24
ローカルデータOK
上流最新
検出された最新1.52.1

https://github.com/simonmichael/hledger

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキー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
Pulseupdated
依存関係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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namehledger
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%

hledger 1.32.3-1+b2

command-line double-entry accounting program

https://hledger.org

sudo apt install hledger
  • Section: utils
  • Architecture: amd64
  • Source Package: haskell-hledger
  • 6 依存関係
  • normalized package name match
  • 一致条件: Hledger
Debian stable package indexes · deb.debian.org · Debian stable package indexes: hledger from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

hledger

nix profile install nixpkgs#hledger
  • normalized package name match
  • 一致条件: Hledger
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: hledger from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

hledger 1.30.1-1

command-line double-entry accounting program

https://hledger.org

sudo apt install hledger
  • Section: universe/haskell
  • Architecture: amd64
  • Source Package: haskell-hledger
  • 5 依存関係
  • normalized package name match
  • 一致条件: Hledger
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: hledger from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

hledger 1.52-r0

Command-line interface for the hledger accounting system

https://hledger.org/hledger.html

sudo apk add hledger
  • License: GPL-3.0-only
  • Architecture: x86_64
  • Source Package: hledger
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Hledger
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: hledger from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

hledger-bash-completion 1.52-r0

Bash completions for hledger

https://hledger.org/hledger.html

sudo apk add hledger-bash-completion
  • License: GPL-3.0-only
  • Architecture: x86_64
  • Source Package: hledger
  • normalized package name match
  • 一致条件: Hledger
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: hledger-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

hledger-doc 1.52-r0

Command-line interface for the hledger accounting system (documentation)

https://hledger.org/hledger.html

sudo apk add hledger-doc
  • License: GPL-3.0-only
  • Architecture: x86_64
  • Source Package: hledger
  • normalized package name match
  • 一致条件: Hledger
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: hledger-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

hledger-ui 1.52-r0

Curses-style terminal interface for the hledger accounting system

https://hledger.org/hledger-ui.html

sudo apk add hledger-ui
  • License: GPL-3.0-only
  • Architecture: x86_64
  • Source Package: hledger
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Hledger
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: hledger-ui from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

hledger-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-doc
  • License: GPL-3.0-only
  • Architecture: x86_64
  • Source Package: hledger
  • normalized package name match
  • 一致条件: Hledger
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: hledger-ui-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

hledger-web 1.52-r0

Web interface for the hledger accounting system

https://hledger.org/hledger-web.html

sudo apk add hledger-web
  • License: GPL-3.0-only
  • Architecture: x86_64
  • Source Package: hledger
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Hledger
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: hledger-web from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

hledger-web-doc 1.52-r0

Web interface for the hledger accounting system (documentation)

https://hledger.org/hledger-web.html

sudo apk add hledger-web-doc
  • License: GPL-3.0-only
  • Architecture: x86_64
  • Source Package: hledger
  • normalized package name match
  • 一致条件: Hledger
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: hledger-web-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

hledger-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-openrc
  • License: GPL-3.0-only
  • Architecture: x86_64
  • Source Package: hledger
  • normalized package name match
  • 一致条件: Hledger
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: hledger-web-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

ghc-hledger 1.43.2-18.fc44

Haskell hledger library

https://hackage.haskell.org/package/hledger

sudo dnf install ghc-hledger
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: hledger
  • 32 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Hledger
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ghc-hledger from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

ghc-hledger-devel 1.43.2-18.fc44

Haskell hledger library development files

https://hackage.haskell.org/package/hledger

sudo dnf install ghc-hledger-devel
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: hledger
  • 3 依存関係
  • 3 提供
  • normalized package name match
  • 一致条件: Hledger
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ghc-hledger-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

ghc-hledger-doc 1.43.2-18.fc44

Haskell hledger library documentation

https://hackage.haskell.org/package/hledger

sudo dnf install ghc-hledger-doc
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: hledger
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Hledger
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ghc-hledger-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

ghc-hledger-prof 1.43.2-18.fc44

Haskell hledger profiling library

https://hackage.haskell.org/package/hledger

sudo dnf install ghc-hledger-prof
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: hledger
  • 2 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Hledger
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ghc-hledger-prof from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

ghc-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
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: hledger
  • 13 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Hledger
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ghc-quote-quot from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment