The hledger package

[Tags:benchmark, gpl, library, program, test]

This is hledger’s command-line interface. Its basic function is to read a plain text file describing financial transactions and produce useful reports. hledger is a cross-platform program for tracking money, time, or any other commodity, using double-entry accounting and a simple, editable file format. It is inspired by and largely compatible with ledger(1). hledger provides command-line, curses and web interfaces, and aims to be a reliable, practical tool for daily use.

[Skip to Readme]


Versions 0.1, 0.2, 0.3, 0.4, 0.5, 0.5.1, 0.6, 0.6.1, 0.7.0, 0.8, 0.9, 0.10, 0.11, 0.11.1, 0.12, 0.12.1, 0.13, 0.14, 0.15, 0.15.1, 0.15.2, 0.16, 0.16.1, 0.17, 0.18, 0.18.1, 0.18.2, 0.19, 0.19.1, 0.19.2, 0.19.3, 0.20,, 0.21, 0.21.1, 0.21.2, 0.21.3, 0.22, 0.22.1, 0.22.2, 0.23, 0.23.1, 0.23.2, 0.23.3, 0.24, 0.24.1, 0.25, 0.25.1, 0.26, 0.27, 0.27.1
Change log CHANGES
Dependencies base (>=4.3 && <5), base-compat (>=0.8.1), cmdargs (==0.10.*), containers, csv, directory, filepath, haskeline (>=0.6 && <=0.8), hledger (==0.27.1), hledger-lib (==0.27.1), HUnit, mtl, mtl-compat, old-locale, old-time, parsec (>=3), pretty-show (>=1.6.4), process, regex-tdfa, safe (>=0.2), shakespeare (>=1.0 && <2.1), shakespeare-text (>=1.0 && <1.2), split (>=0.1 && <0.3), tabular (==0.2.*), terminfo, text (>=0.11), time, unordered-containers, utf8-string (>=0.3.5 && <1.1), wizards (==1.0.*) [details]
License GPL
Author Simon Michael <>
Maintainer Simon Michael <>
Stability stable
Category Finance, Console
Home page
Bug tracker
Source repository head: git clone
Uploaded Fri May 27 18:13:05 UTC 2016 by SimonMichael
Distributions Debian:0.26, Fedora:0.24, LTSHaskell:0.27.1, NixOS:0.27.1, Stackage:0.27.1, Tumbleweed:0.27
Downloads 10645 total (103 in the last 30 days)
1 []
Status Docs available [build log]
Last success reported on 2016-05-27 [all 1 reports]




threadedBuild with support for multithreaded executionEnabledAutomatic
cursesOn POSIX systems, enable curses support for auto-detecting terminal width.EnabledAutomatic
old-localeA compatibility flag, set automatically by cabal. If false then depend on time >= 1.5, if true then depend on time < 1.5 together with old-locale.DisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees

Readme for hledger

Readme for hledger-0.27.1


lightweight, portable, dependable accounting tools

hledger is a computer program for easily tracking money, time, or other commodities, on unix, mac and windows (and web-capable mobile devices, to some extent).

It is first a command-line tool, but there are also curses-style and web interfaces, and a Haskell library ( for building your own programs and scripts (hledger is written in Haskell). hledger was inspired by and is largely compatible with Ledger. hledger is free software available under the GNU General Public License v3+.

hledger aims to help both computer experts and regular folks to gain clarity and control in their finances and time management, but currently it is a bit more suited to techies. I use it every day to:

  • track spending and income
  • see time reports by day/week/month/project
  • get accurate numbers for client billing and tax filing
  • track invoices

Though limited in features, hledger is lightweight, usable and reliable. For some, it is a simpler, less distracting, more future-proof alternative to Quicken or GnuCash.

For more, see

license hackage release <!-- [![github release](]( --> <!-- [![github latest release downloads](]( --> <!-- [![gratipay](]() -->

travis build status hackage upper bounds github issues bountysource