Skip to main content
The TaxMaxi CLI gives you a tax command you can run from any terminal. It is built for individuals who want to compute their crypto taxes without touching a UI, and for automation pipelines and AI agents that need machine-readable tax output. The CLI calls the same TaxMaxi API that developers integrate directly, so everything you do through it is fully reproducible via the REST API or JavaScript SDK.

Installation

Install the CLI globally from npm:
Verify the installation succeeded:

Available commands

tax coinbase

Run the full Coinbase workflow: connect via OAuth, sync transactions, and compute your German tax summary — in one command.

tax coinbase connect

Authenticate your Coinbase account via OAuth. The session is cached locally so subsequent runs skip re-auth automatically.

tax coinbase sync

Sync your Coinbase transaction records into TaxMaxi after connecting.

tax coinbase replay

Rebuild normalized records from cached raw Coinbase data without re-fetching from Coinbase.

tax coinbase calculate

Compute a German tax summary for a specific year from your synced records.

Global flags

Use --json, --no-browser, --force, and --year to control CLI behaviour and enable scripting.

Command reference

Next steps

Coinbase workflow

Step-by-step guide to running the Coinbase connect, sync, and calculate commands.

Flags reference

Full reference for all CLI flags, including scripting examples with --json.