← Package directory
Available on winget

Install hledger

Robust, fast, intuitive plain text accounting tool with CLI, TUI and web interfaces.

Install with winget
winget install --id simonmichael.hledger
Upgrade
winget upgrade --id simonmichael.hledger
Uninstall
winget uninstall --id simonmichael.hledger

About hledger

hledger is lightweight, cross platform, multi-currency, double-entry accounting software. It lets you track money, investments, cryptocurrencies, invoices, time, inventory and more, in a safe, future-proof plain text data format with full version control and privacy.

What's new in 1.52.1

Release notes hledger 1.52.1 Breaking changes - The Gain (G) account type is no longer auto-detected from account names like revenue:gains or income:capital gains; it must now be declared explicitly with ; type: G. Also, the UnrealisedGain (U) account type, a subtype of Equity, has been added (spellings U, UnrealisedGain, and UnrealizedGain are all accepted). These improve compatibility between hledger 1 and 2. Docs - The "Cost basis / lot syntax" section has been renamed to "Cost basis", and updated to mention hledger 2. hledger-ui 1.52.1 Improvements - Uses hledger 1.52.1. - Allow vty-crossplatform 0.5. hledger-web 1.52.1 Improvements - Uses hledger 1.52.1. credits 1.52.1 Simon Michael. Install For all install options, see hledger.org: Install. You can install hledger from most package managers (but check for a green badge indicating it's up to date). Or you can build it from source yourself. Or you can install up to date binaries from this page, by following the appropriate instructions below. If you find problems with these instructions, please let us know. Updates to binaries: - 2026-01-12: Fixed the hledger-linux-x64.tar.gz asset below, it previously contained a dev build. #2526 All platforms If you have eget, that's a convenient way to download the right binaries for your machine: eget simonmichael/hledger --all Otherwise: GNU/Linux, 64-bit Intel At the command line: curl -fLOC- https://github.com/simonmichael/hledger/releases/download/1.52.1/hledger-linux-x64.tar.gz | tar -xzv -f- -C/usr/local/bin hledger hledger-ui hledger-web hledger --version; hledger-ui --versio...

Read release notes

Version history

Version Updated Notes
1.52.1 Unknown Release notes hledger 1.52.1 Breaking changes - The Gain (G) account type is no longer auto-detected from account names like revenue:gains or income:capital gains; it must now be declared explicitly with ; type: G. Also,...
1.52 Unknown Release notes Preserve cost basis syntax, cost basis export examples, faster valuation, commodity tags, more robust paging, fixes. hledger 1.52 Features - aregister and register now support --drop for trimming leading ac...
1.51.2 Unknown Release notes hledger 1.51.2 Fixes - The add and import commands now once again auto-create the journal file if it does not exist yet, fixing a regression in 1.50.3. Also they now create it lazily, only when they have da...
1.51.1 Unknown Release notes hledger 1.51.1 Fixes - Relative includes from a symbolically-linked journal file now work again. This was fallout from 1.50.4's fixes. #2503 - When journal's include directive has an IO error, like trying t...
1.51 Unknown Release notes Small improvements, doc updates hledger 1.51 Fixes - HTML output no longer contains invalid nested tables (Joschua Kesper). This may cause some visual changes, hopefully all for the better. - stats: -o now...
1.50.5 Unknown Release notes hledger 1.50.5 Fixes - Relative includes from a symlinked file work again, fixing some fallout from 1.50.4's fixes. #2503 hledger-ui 1.50.5 - Uses hledger 1.50.5. hledger-web 1.50.5 - Uses hledger 1.50.5. c...
1.50.4 Unknown Release notes hledger 1.50.4 Fixes - An include directive with no argument now gives consistent error messages. - journal format's include directive no longer excludes paths containing dotted directories/files. 1.50-1.50...
1.50.3 Unknown Release notes hledger 1.50.3 Fixes - hledger versions 1.50-1.50.2 ran much slower than normal (depending on the speed of your hard drive). This 1.50.3 release fixes that; so please upgrade, and avoid those older 1.50 rel...
1.50.2 Unknown Release notes hledger 1.50.2 Fixes - The CSV encoding rule is now respected when using the rules file as input file. This was a regression in 1.50. Also, the text decoding error message has been clarified; it now mention...
1.50.1 Unknown Release notes hledger 1.50.1 Fixes - Balance commands now show an empty report instead of an error when no transactions are matched, fixing a regression in 1.50. (Stephen Morgan, #2452) - The print command's help no long...
1.50 Unknown Release notes Better transaction balancing, include improvements, auto posting account interpolation, csv data commands, import archiving, timeclock improvements, fixes hledger 1.50 Breaking changes - Transaction balanci...
1.43.2 Unknown Release notes hledger 1.43.2 - hledger no longer shows an error message or exits with error status when its output is truncated in a piped command. (This broke in 1.43.) #2405 - The add command's doc now describes how it...
1.43.1 Unknown Release notes hledger 1.43.1 Fixes - cur: in posting-based reports like balance and register once again filters multicommodity amounts as it should. #2396 - More error messages were made consistent, hiding call stack etc...
1.42.1 Unknown Release notes hledger 1.42.1 Fixes - Fix a regression in the parsing of single ampersands (&) in csv rules. (Thomas Miedema, #2352) - The run and repl commands no longer cache data wrongly when using the --forecast optio...
1.40 Unknown Release notes Config file support, sortable register, FODS output, prettier tables, show options in manuals. hledger 1.40 Fixes - Account tags (and type declarations) declared in multiple files are now combined correctly...
1.34 Unknown Release notes hledger 1.34 Breaking changes- check ordereddates no longer supports --date2. Also (not a breaking change): --date2 and secondary dates are now officially deprecated in hledger, though kept for compatibilit...
1.33.1 Unknown Release notes hledger 1.33.1 - process >=1.6.19.0 seems not strictly needed and is no longer required, improving installability. #2149 - print and close now show a trailing decimal mark on cost amounts also, when needed...
1.30 Unknown Next steps - https://hledger.org -> Quick start
1.29.2 Unknown Release notes
1.28 Unknown Release notes