Installation¶
Requirements¶
- Python 3.13 or newer
- Any modern terminal (the TUI uses 24-bit color; every recent terminal qualifies)
ttd is published on PyPI as ttd-ledger; the installed command is ttd.
Install with uv (recommended)¶
uv manages an isolated environment for the tool
and puts ttd on your PATH. If you don't have a Python 3.13 available,
uv python install 3.13 first.
Install with pipx or pip¶
Shell completion¶
Detects your shell (bash, zsh, or fish), installs the completion script, and adds a source line to your shell startup file. Restart your shell afterwards.
Verify the install¶
Explore safely with demo data¶
Seed a database with demo clients, projects, and about three months of entries:
To keep experiments out of your real ledger, point ttd at a throwaway file for the session:
ttd db seed-demo --reset --yes wipes and reseeds. See
Data & backups for where the real database
lives.
Upgrading and uninstalling¶
Your data is never touched by an upgrade or uninstall — it lives in its own file (see Data & backups).