Ledger

ledger-cli.org ↗

Command-line accounting from a plain-text journal

SI Score
80/100
Pricing
Open Source AI reading, not confirmed
Free plan
Yes AI reading, not confirmed
Sign-up required
Not required AI reading, not confirmed

Ask SI about Ledger

Answers use saved listing facts and recorded sources.
Homepage screenshot
Screenshot of the Ledger homepage

What it does

Ledger reads a plain-text accounting journal and produces balance and transaction reports from the command line. It is free BSD-licensed software for people comfortable editing their own records. Your journal remains a local file, without a subscription or online account.

A journal you can read and keep

Add transactions to a text file in Ledger's journal format, then run ledger -f books.ledger balance to see account totals. ledger -f books.ledger register Expenses shows the entries behind expense balances.

Ledger checks that each transaction balances and refuses a report when it does not. It reads the journal without rewriting your entries. That makes the files suitable for a text editor or your existing version-control process.

Installation and daily use

The download page links Linux packages, Windows builds and Mac options including Homebrew. After installing a suitable build, use the homepage's short example journal to learn the balance and register commands.

There is no hosted service to register for. The main tradeoff is the interface: you maintain transaction text and run commands instead of completing invoice or expense forms. Ledger also supports several currencies and monthly reports.

Strengths

  • The reporting commands leave your original journal untouched
  • Unbalanced transactions cause a clear reporting error
  • Balance and register views use the same editable text file

Watch out for

  • Routine use involves text journals and command-line reports

Best for

  • People comfortable maintaining accounting records as text

Sources