cs command — nothing is sent to a remote server and no account is required.
Database location
Custom database path
You can point CostHQ at a different file using theCOSTHQ_DATA_DIR environment variable. This is useful for per-project isolation or test environments:
- Mac / Linux
- Windows
Privacy guarantees
- No cloud sync — all session data stays on your local machine.
- No telemetry — CostHQ never phones home or sends usage data externally.
- No API key storage — the proxy forwards
Authorizationheaders as-is and never writes them to disk. - Full control — delete or export your data at any time without contacting anyone.
Backing up and exporting your data
- Mac / Linux
- Windows
Migration from older versions
If you used CostHQ when it stored data under~/.devsession/, your data migrates automatically to ~/.costhq/ on first run. The migration copies files — it does not delete the old directory. Once you confirm that everything looks correct in the new location, you can safely remove ~/.devsession/ manually.
Resetting all data
- Mac / Linux
- Windows