_ __ ___ __ _ _ __ __ _ ___
| '_ ` _ \ / _` | '_ \ / _` |/ _ \
| | | | | | (_| | | | | (_| | (_) |
|_| |_| |_|\__,_|_| |_|\__, |\___/
__/ |
|___/
mango: Your Personal Finance Assistant on the Command Line.
A powerful, local-first, command-line personal finance tool based on the principles of double-entry accounting. Track your income, expenses, assets, and liabilities with precision and privacy.
- Double-Entry Accounting: Every transaction is balanced, ensuring financial integrity.
- CLI-First Interface: Fast, scriptable, and keeps you in control of your data.
- Multi-Currency Support: Track accounts in different currencies with automatic base-currency conversion.
- Powerful Transaction Projection: Plan for the future with commands for amortized loans (
loan) and purchases in installments (installments). - Asset Revaluation: Adjust the value of your assets (like investments) to keep your net worth accurate using
account adjust. - Debt Settlement: Easily pay off monthly credit card statements or other liabilities with the
pay-liabilitycommand. - Rich Reporting: Get insights into your financial health with
balance,cashflow,expense-report, andhistory-report. - Local & Private: Your data is stored locally in a simple SQLite database. No servers, no tracking.
There are multiple ways to install mango. Choose the one that best fits your operating system and preferences.
If you are on macOS and use Homebrew, this is the recommended method.
-
Add the custom tap:
brew tap JulianLobos/homebrew-tap
-
Install
mango:brew install mango
You can download a pre-compiled binary for your specific operating system from the Releases page.
- Go to the latest release page.
- Download the archive (
.zipor.tar.gz) for your OS. - Extract the archive.
- Move the
mangoexecutable file to a directory included in your system'sPATH(e.g.,/usr/local/binon Linux/macOS, or a custom folder on Windows that you've added to the Path environment variable).
-
Initialize the database: Set up
mangowith your chosen base currency. All reports will be summarized in this currency.mango setup --base-currency ARS
-
Add your accounts: You need at least one asset (like a bank account) and one income source.
# Asset account mango account add --name "Banco" --type asset --currency ARS # Income source mango account add --name "Sueldo" --type income --currency ARS # An expense category mango account add --name "Comida" --type expense --currency ARS
-
Record your first income:
mango income --amount 300000 --account "Banco" --source "Sueldo" --description "Sueldo de Junio"
-
Record an expense:
mango expense --amount 15000 --account "Banco" --category "Comida" --description "Compra semanal"
-
Check your balance!
mango balance
This README provides a brief overview. For a complete command reference with detailed examples for every feature, please see the USER MANUAL.
This project is licensed under the MIT License. See the LICENSE file for details.