![Forrest logo](/images/logo.png)
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.
- Ledger embraces plain text accounting files, making it easy to create and modify financial records using simple text editors.
- It supports various types of accounts, including assets, liabilities, income, expenses, and equity accounts.
- Transactions in Ledger are expressed using a concise plain text syntax, allowing for quick and intuitive data entry.
- It provides robust features like automated transaction generation, transaction filtering, and sophisticated reporting options.
- Ledger is highly flexible, allowing users to define their own custom account hierarchy and tags to organize and analyze financial data.
- It is open-source and written in C++, ensuring high performance and reliability.
- Ledger can handle complex financial scenarios, such as multiple currencies, cost basis tracking, and recurring transactions.
- The tool generates clear and concise financial reports, including balance sheets, income statements, cash flow statements, and investment reports.
- Ledger supports comprehensive command-line options and customizations, allowing users to adapt it to their specific financial requirements.
- 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 budgettry on your machineexplain this command
-
ledger:tldr:2c995 ledger: Print summary information about all the postings.$ ledger statstry on your machineexplain 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 machineexplain this command
-
ledger:tldr:6b801 ledger: Print a balance report showing totals.$ ledger balance --file ${path-to-ledger-journal}try on your machineexplain this command
-
ledger:tldr:f2971 ledger: List all postings in Expenses ordered by amount.$ ledger register ${expenses} --sorted ${amount}try on your machineexplain this command