Forrest logo
tool overview
On this page you find all important commands for the CLI tool ledger. If the command you are looking for is missing please ask our AI.

ledger

Ledger is a powerful command-line tool that enables users to manage personal finances efficiently. It follows the double-entry accounting system, which ensures accurate and reliable tracking of income, expenses, and assets.

  1. Ledger embraces plain text accounting files, making it easy to create and modify financial records using simple text editors.
  2. It supports various types of accounts, including assets, liabilities, income, expenses, and equity accounts.
  3. Transactions in Ledger are expressed using a concise plain text syntax, allowing for quick and intuitive data entry.
  4. It provides robust features like automated transaction generation, transaction filtering, and sophisticated reporting options.
  5. Ledger is highly flexible, allowing users to define their own custom account hierarchy and tags to organize and analyze financial data.
  6. It is open-source and written in C++, ensuring high performance and reliability.
  7. Ledger can handle complex financial scenarios, such as multiple currencies, cost basis tracking, and recurring transactions.
  8. The tool generates clear and concise financial reports, including balance sheets, income statements, cash flow statements, and investment reports.
  9. Ledger supports comprehensive command-line options and customizations, allowing users to adapt it to their specific financial requirements.
  10. It has an active and supportive community that continuously develops and enhances the tool, ensuring regular updates and improvements.

List of commands for ledger:

  • ledger:tldr:05b00 ledger: Print a budget report.
    $ ledger budget
    try on your machine
    explain this command
  • ledger:tldr:2c995 ledger: Print summary information about all the postings.
    $ ledger stats
    try on your machine
    explain this command
  • ledger:tldr:64db5 ledger: Print total Expenses other than Drinks and Food.
    $ ledger balance ${Expenses} and not (${Drinks} or ${Food})
    try on your machine
    explain this command
  • ledger:tldr:6b801 ledger: Print a balance report showing totals.
    $ ledger balance --file ${path-to-ledger-journal}
    try on your machine
    explain this command
  • ledger:tldr:f2971 ledger: List all postings in Expenses ordered by amount.
    $ ledger register ${expenses} --sorted ${amount}
    try on your machine
    explain this command
tool overview