GitHub
Ledgeline manual
Ledgeline logo

Ledgeline

Ledgeline is a desktop app for hledger plain-text accounting. It opens your journal file, shows it in a native window, and lets you browse, edit, import into and report on it. Everything runs on your own machine: one binary holds the engine and the UI, and your journal never leaves your disk.

Ledgeline reads the journal itself and reproduces hledger’s numbers exactly, with exact decimal arithmetic. It doesn’t assume where your files live or how your accounts are named. When it writes, it writes ordinary hledger syntax that the hledger command reads the same way.

The Journal tab on the sample journal: filter bar, transaction table and totals footer

Install

macOS (Apple silicon). Download Ledgeline-<version>-arm64.dmg from the latest GitHub release. The app is signed and notarized. Drag it to Applications. Ledgeline Invoicer, the optional invoicing app, is a separate download on the same page: LedgelineInvoicer-<version>-arm64.dmg. There is no Intel build since 0.4.0; on an Intel Mac, use Nix or Cargo below.

Windows (x64 and Arm). Download Ledgeline-<version>-windows-x64.msi (most PCs) or -windows-arm64.msi (Snapdragon and other Arm PCs) from the latest GitHub release and run it. It installs for your user only, with no administrator prompt, and bundles its own hledger. The installers aren’t signed yet, so SmartScreen says “Windows protected your PC”: choose More info → Run anyway. Ledgeline Invoicer has its own MSIs on the same page.

Nix (macOS and Linux). Run it straight from the flake:

nix run --accept-flake-config github:zmre/ledgeline -- ~/finance/2026.journal

--accept-flake-config lets Nix download prebuilt binaries from the project’s cache instead of compiling. On macOS, nix build github:zmre/ledgeline produces result/Applications/Ledgeline.app, which you can open or copy to Applications. The Nix package holds both apps, so nix build also gives you Ledgeline Invoicer.app, and nix profile install installs both. See Getting it for running the invoicer.

Cargo (Linux, Intel Macs). Without Nix, install from crates.io (on Windows this needs Visual Studio Build Tools with the C++ workload):

cargo install ledgeline                                                       # desktop window; on Linux needs webkitgtk-4.1, gtk3, libsoup-3 and libxdo
cargo install ledgeline --no-default-features --features watcher,external-tools  # no window; serves the UI to your browser

The headless build prints a http://127.0.0.1:PORT/#token=… address. Open it in your browser.

Imports need hledger 1.40 or newer. The macOS app bundles its own copy. Elsewhere, Ledgeline looks for hledger on your PATH and lets you point it at a binary if it can’t find one. See Imports.

Opening a journal

Pass the journal on the command line, as in the nix run example above. Ledgeline follows its include directives, so open your main file, not one of the files it includes.

With no argument, Ledgeline reopens the last journal you used. The first time, with nothing to reopen, the desktop app opens the New ledger wizard instead, which can also open sample data to try. In the desktop app, File → Open (Cmd+O on macOS, Ctrl+O on Linux) picks another one, and File → Open Recent lists the ones you’ve had open. On macOS, double-clicking a .journal or .hledger file opens it in Ledgeline. Ledgeline is also offered under Open With for .ledger and .j files. If another app (a text editor, say) keeps opening your journals, choose Ledgeline ▸ Make Ledgeline the Default for Journal Files.

On Linux the window has no title bar or menu bar until you press F10.

Ledgeline watches the journal for changes. If you edit it in another editor, the app reloads.

Getting around

The top bar has a tab for each part of the app. You can do most things from the keyboard. ? shows the shortcuts for the page you’re on, and two-key sequences such as g b jump between tabs. See Keyboard shortcuts.

Map of the manual

Several account tags change how Ledgeline groups and reports accounts, such as bsgroup:, isgroup:, holdings: and valuation:. Every page that explains one carries the account-tags tag.

The source code, issue tracker and releases are on GitHub.