ledger

Double-entry accounting system for the command line

brewmacoslinux
Try with needOr install directly
Source

About

Command-line, double-entry accounting tool

Commands

ledger

Examples

Display all accounts and their balances$ ledger -f myaccounts.ledger balance
Register transactions for a specific account$ ledger -f myaccounts.ledger register expenses:food
Generate a monthly income statement$ ledger -f myaccounts.ledger --monthly --invert income