Upgrade and uninstall
Upgrade
Section titled “Upgrade”trail upgradeRuns npm install -g for the latest published version. A new version is announced automatically (checked once a day). After upgrading, the next session refreshes this repo’s wiring itself.
Uninstall from a repo
Section titled “Uninstall from a repo”trail uninstall removes every file and config entry it wrote here: the inverse of init. Without -y it prints what it would remove and exits:
trail uninstallTo actually remove:
trail uninstall -yOptions:
| Flag | Effect |
|---|---|
--keep-cache |
Wiring only; leave graft/ and the .gitignore entry |
--no-global |
Leave out-of-repo files alone (~/.claude, ~/.claude.json, ~/.codex, ~/.gemini) |