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


Hledger is a command line accounting tool designed for personal and business use. It is built on top of the plain text accounting system and follows the double-entry accounting principle. Hledger allows users to track their financial transactions, manage their accounts, and generate various reports.

With Hledger, users can record transactions using a simple and intuitive syntax, making it easy to enter and manage financial data. It supports multiple currencies and advanced features like cost tracking, stock portfolios, and even time tracking.

One of the key features of Hledger is its ability to generate versatile and detailed reports. Users can generate balance sheets, income statements, cash flow statements, and various other financial reports. These reports can be customized according to user preferences and exported to different formats like CSV, PDF, or HTML.

Hledger also provides powerful filtering and querying capabilities, allowing users to search and retrieve specific transactions or account information. It supports a wide range of query syntax, making it easy to extract specific data and analyze financial trends.

Additionally, Hledger supports automatic transaction importing from CSV files and can integrate with various third-party tools, making it convenient for users to import data from their banks or other financial applications.

Hledger is designed to be lightweight and fast, allowing users to efficiently work with large datasets without any performance issues. It is written in Haskell, offers cross-platform compatibility, and is actively maintained and updated by its developer community.

The tool also offers interactive mode, where users can interact with Hledger through a command prompt, making it easier to explore its features and perform complex queries.

Hledger provides extensive documentation, including a detailed manual and a comprehensive website, making it easy for new users to get started and learn the various functionalities of the tool.

Overall, Hledger is a powerful and reliable command line accounting tool that offers a wide range of features for individuals and businesses to manage their financial data, track their finances, and generate insightful reports.

List of commands for hledger:

  • hledger:tldr:56082 hledger: Show a monthly income statement.
    $ hledger incomestatement --monthly --depth 2
    try on your machine
    explain this command
  • hledger:tldr:66753 hledger: Show the account hierarchy, using a specific journal file.
    $ hledger --file ${filename-journal} accounts --tree
    try on your machine
    explain this command
  • hledger:tldr:a348d hledger: Add transactions to your journal interactively.
    $ hledger add
    try on your machine
    explain this command
tool overview