Telemetry

Command Code collects anonymous telemetry to improve the product. This page explains what we collect and how to opt out.


  • Session metrics: Start/end times, duration, session status
  • Command usage: Which commands are run (not their arguments)
  • Error types: Sanitized error categories and codes
  • Performance data: API response times, tool execution duration

  • File contents or paths
  • Command arguments or user input
  • API keys, tokens, or credentials
  • Code snippets or project structure
  • Personal identifiable information

All sensitive data is automatically redacted before transmission.


Config File

Add telemetry: false to your config file:

Location: ~/.commandcode/config.json

Disable telemetry in config

{ "telemetry": false }

If the file doesn't exist, create it with the content above.

Environment Variable

Set the DO_NOT_TRACK environment variable in your shell profile:

macOS/Linux bash

# Add to ~/.bashrc and reload echo 'export DO_NOT_TRACK=1' >> ~/.bashrc source ~/.bashrc

macOS zsh

# Add to ~/.zshrc and reload echo 'export DO_NOT_TRACK=1' >> ~/.zshrc source ~/.zshrc

Windows (PowerShell)

# Set permanently (restart terminal after) setx DO_NOT_TRACK 1

Per-Session

Disable telemetry for a single session:

Disable telemetry for a session

DO_NOT_TRACK=1 cmd

When errors occur, Command Code displays a Request ID:

Example Request ID

Request ID: req_abc123...

Share this ID when reporting bugs to help us investigate.


Telemetry data is retained for 30 days and then automatically deleted.


If you have questions about telemetry or privacy, join our Discord community.