tokentrim install via git

You can install the full tokentrim toolkit by cloning its repository with Git. After cloning, you’ll have all Claude Code hooks, the local dashboard, and the compaction window that saves the most tokens.

How to install tokentrim with git

  1. Open a terminal on macOS or Linux.
  2. Run

``bash git clone https://suncal.github.io/tokentrim/ ``

  1. Change into the directory:

``bash cd tokentrim ``

  1. Follow the README to install the Python 3.9+ requirements.
  2. Activate the plugin or run the toolkit locally.

All steps are on this page, so you stay in one place from download to first run.

What you get and what it costs

FAQ

Does the git install include the compaction window? Yes. Only the full install (via git) provides the summarising compaction window, which on the author’s 135 real conversations cut history re‑read by 75 % and extended limits by about 4.0 ×.

What Python version do I need? Python 3.9 or newer. The toolkit is tested on macOS and Linux.

Can I see my own token savings? Run the replay command after a session; it reports the exact reduction you achieved.

Next step

Clone the repository now and start trimming your token usage. Clone tokentrim

Updated 2026-11-02