Ledger Cheat Sheet

I’m using Ledger to manage the finances of my micro companies. Here are a few of the commands I use frequently.

Show all balances

ledger bal

Show register for specific account

ledger reg Equity:Capital

Clean a bank statement

sed 's/\\/\\\\/g' 2025-02-example.csv > 2025-02-example-clean.csv

Import a bank statement

ledger convert ./csv/2025-02-example.csv --input-date-format "%m/%d/%Y" --account "Assets:NBKC Bank:Checking" >> ledger.dat

Written by Joel Dare on February 19, 2025.


Joel's Newsletter

Get a monthly digest of what I'm up to.

Subscribe by Email