hledger

simonmichael · simonmichael.hledger

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

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.

winget install --id simonmichael.hledger --exact --source winget

Latest 1.52.1

Release Notes

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 --version; hledger-web --version # should show 1.52.1

Mac, 64-bit ARM or Intel In a terminal window (don't download the binaries with your web browser, they won't get authorised): On ARM macs: curl -fLOC- https://github.com/simonmichael/hledger/releases/download/1.52.1/hledger-mac-arm64.tar.gz | tar -xzv -f- -C/usr/local/bin hledger hledger-ui hledger-web hledger --version; hledger-ui --version; hledger-web --version # should show 1.52.1 On Intel macs: curl -fLOC- https://github.com/simonmichael/hledger/releases/download/1.52.1/hledger-mac-x64.tar.gz | tar -xzv -f- -C/usr/local/bin hledger hledger-ui hledger-web hledger --version; hledger-ui --version; hledger-web --version # should show 1.52.1

Windows, 64-bit ARM or Intel In a powershell window (press WINDOWS-R, powershell, ENTER): cd ~ curl https://github.com/simonmichael/hledger/releases/download/1.52.1/hledger-windows-x64.zip -OutFile hledger-windows-x64.zip Expand-Archive hledger-windows-x64.zip -Force -DestinationPath AppData\Roaming\local\bin hledger --version; hledger-ui --version; hledger-web --version # should show 1.52.1

Windows 7, 64-bit Intel These instructions have not been tested recently, please let us know if they work for you:

  • click hledger-windows-x64.zip below
  • choose Open with Windows Explorer, OK
  • click Extract all files
  • choose a destination folder - ideally one that appears in echo %PATH%, like C:\Windows (though that one will require administrator permission); otherwise, your home directory (C:\Users\YOURNAME)
  • check "Show extracted files when complete"
  • click Extract, wait for the destination folder to open
  • find the hledger, hledger-web icons (if you extracted to \Windows, you'll need to scroll down)
  • for each icon: double-click, uncheck "Always ask before opening this file", click Run
  • close those Explorer windows
  • open a command window (press Windows-r, type CMD, press enter)
  • hledger --version; hledger-ui --version; hledger-web --version should show 1.52.1
  • echo # >> .hledger.journal to ensure a default journal file exists. (Important: the doubled >> is needed to avoid overwriting existing data.) Problems:
  • Starting hledger by double-clicking its icon won't work because it needs arguments; run it from the command window instead.
  • Starting hledger-web by double-clicking its icon may fail eg because Explorer's command window is too small; configure that to be larger, or run hledger-web from a command window instead.
  • hledger or hledger-web may fail to run if there is not enough memory available.

Next steps Once installed, run hledger, and perhaps read hledger.org: Quick start.

Installer type: zip

Architecture Scope Download SHA256
x64 Download A330A86FF8F99CDE603D6F3BF6FDD0DB4E02892366A7077A9211A0CFA9FAED0E

Details

Homepage
https://github.com/simonmichael/hledger
License
GPL-3.0
Publisher
simonmichael
Support
https://hledger.org/support.html
Moniker
hledger

Tags

accountingbountiesbountycommand-line-toolconsole-applicationfinancehaskellhaskell-applicationledgerplain-textplain-text-accountingplaintextplaintext-accountingtuiweb-application

Older versions (20)

1.52
Architecture Scope Download SHA256
x64 Download 3AD0DC01299CE40588C0382AC8B67D59CC1B6B2B758B8245A552EB94FE8D2A70
1.51.2
Architecture Scope Download SHA256
x64 Download 10B7DA22A2893065159FCB28325CCED05C63D745E20B48E26ECFA9E9B8F711F0
1.51.1
Architecture Scope Download SHA256
x64 Download 8FAEC443FAA955C8FD78A846B35803726C78B74E43122777FD960784FC980781
1.51
Architecture Scope Download SHA256
x64 Download E34C3B8C88A00F59EF71E461D18F240A79D9D16A9C354751051B117B0C62EF46
1.50.5
Architecture Scope Download SHA256
x64 Download 79157A87BD3DC01C567D47CAFF08768227A5D74BDA74C18B39EF16B5AD8F9764
1.50.4
Architecture Scope Download SHA256
x64 Download BBD51598C9D09F4727834B1B5A249379C115D2D710E123F7ADDD8EDDBAA33EE8
1.50.3
Architecture Scope Download SHA256
x64 Download C3ACFF2EF6831D5AF4FED6C8EE2829632F8072FE40871ECABB61E087D46804FD
1.50.2
Architecture Scope Download SHA256
x64 Download 97A35522D2C6232989D85832C42F5F5359C09D95A2DA741425D768C98E6FA38A
1.50.1
Architecture Scope Download SHA256
x64 Download DFDDDA92B0DA578CE65499407D86B570D1A96A05E237B57AF6C1BBF8BA2F5BE7
1.50
Architecture Scope Download SHA256
x64 Download 210188D1D526AEFDA572A473C7C03A16910504A0FE0D655DAAD98D4C1E518427
1.43.2
Architecture Scope Download SHA256
x64 Download 2281A04EE0313C84430FC6D1BF8323B061CA0C3E4B2176D7EDF2F7568FE539B1
1.43.1
Architecture Scope Download SHA256
x64 Download 84E78880BC0FB0977BA36B103786ABEBB619D37A0256D087C8E18C56D5FDED32
1.42.1
Architecture Scope Download SHA256
x64 Download 6A62E3DC9FFE92F122D6ADBDCA7392ACFD4E65F4BBF0711625FD5F7B7E35E0C9
1.40
Architecture Scope Download SHA256
x64 Download 666BBBF2228DC1CAA492F4A0917988CCF33CC297030EA1FB43328C0D39E6A13C
1.34
Architecture Scope Download SHA256
x64 Download 7F99D34F89611143103D760EBF3E45482AD56A32101B5B1EF8917CDE9213D2CB
1.33.1
Architecture Scope Download SHA256
x64 Download 657A63FDAF51E7DC26DA65705192D9F67E089449B756241D52AC3E65D0D3CA1E
1.30
Architecture Scope Download SHA256
x64 Download 2F31DE09E050912ABF019BC8BA32F5C01F06D259ADBC4CD21E7A916AC6F288D1
1.29.2
Architecture Scope Download SHA256
x64 Download e47dc6536c41acd09e724e5591197ac320a4d529c029d9c54bfba38ae12529af
1.28
Architecture Scope Download SHA256
x64 Download F04AFA61E736DE18CB7418913662B8B7B7D298B4C67AE96B0ED2538F34AA8005
1.27.1
Architecture Scope Download SHA256
x64 Download 2467EBDB60C89A6877B735EC34DB05D8BF95BF051D38DD4394860BF9EFC79F90