Reference / Trace App CLI

CLI Version Notes

What changed in trace-cli, the command-line tool that comes with the Trace app, in each Trace release.

trace-cli comes with the Trace app, so it updates when you update Trace. To see which version you have, run trace-cli --version. For everything else in each release, see the Trace changelog.

Trace 3.3 — November 2026

  • New: run trace-cli in a project folder to open a full chat with Trace in your terminal, as you would in the app: question and review cards, the price before any paid run, steering by typing while it works, and Esc to stop. See Chat with Trace in your terminal.
  • Commands that start with / run checks, fixes and outputs from the chat: /erc, /drc and /check, then /fix, plus /update-pcb, /export and /fab for Gerbers, drill and position files and a bill of materials, zipped. Each also runs on its own for scripts, such as trace-cli drc --json. See Project commands.
  • Install it from Tools > Install trace-cli Command… in the Trace app, so you can run trace-cli from any terminal.
  • Sign in with trace-cli auth login through your browser. The terminal keeps its own sign-in, so it never signs the app out. Build servers can use an API token instead. See Sign-in.
  • Chats from the terminal show in the app's chat history, the terminal can pick up the app's chats, and /undo puts the design back as it was before your last request.
  • See your design as you work: terminals that can show pictures show the schematic and board in the chat, and /preview opens a live view in your browser that redraws as Trace changes the design.
  • AI coding assistants can work with Trace through trace-cli: trace-cli guide --write adds instructions for them to your project, every project command can give its results as JSON, and trace-cli mcp connects Trace to assistants that use MCP. See MCP.
  • Design checks, board finishing and routing run in the terminal the same way as in the app, so the results match. Basic routing waits for your go-ahead.
  • trace-cli doctor checks your sign-in, the connection to Trace, the project and your terminal, and trace-cli completion sets up shell completion.
  • trace-cli no longer changes the Trace app's settings each time it runs, and positions in the JSON electrical rules check report are no longer 100 times too small.
  • trace-cli auth logout now signs only trace-cli out; the Trace app stays signed in.

Trace 3.2 — November 2026

  • New: trace-cli pcb update updates a board from its schematic, as Update PCB from Schematic does in the board editor, and makes the board if the project doesn't have one yet. Like the assistant, it stops before doubling the parts on a board whose footprints aren't linked to the schematic, and --relink updates those footprints in place instead. See Update a board from its schematic.
  • trace-cli sch convert can now also turn a Trace schematic back into KiCad files, with the whole hierarchy. See Convert between Trace and KiCad.
  • On Linux, exporting Gerbers and other plots with trace-cli no longer crashes.

Trace 3.1 — October 14, 2026

  • New: trace-cli workspaces commands for Workspaces projects: status and changes, commit, push and pull, branches and switching, stashes, pull requests, conflicts, and receipts for checking on an earlier action. See Workspaces commands.

Trace 2.2 — September 2026

  • New board commands: pcb refill, pcb finish, pcb repair, pcb metrics, pcb score, pcb calc and pcb layout for advanced placement and routing.
  • New: sch convert and pcb convert turn KiCad schematics and boards into Trace files, and pcb convert turns a Trace board back into a KiCad board.

Trace 2.1 — August 2026

  • New: chat with the assistant from a terminal with trace-cli chat --project, using the same account, models and tools as the Trace app.
  • trace-cli auth status and auth logout. trace-cli shares the Trace app's sign-in, so there is nothing extra to sign in to.
  • Ask, Agent and Plan modes, either as a back-and-forth session or a single --message. Continue a conversation later with --conversation.
  • Built for scripts: --format json prints one event per line, --no-interactive declines the assistant's questions and --auto-approve accepts them.
  • Fixed trace-cli sch erc and pcb drc failing to open Trace design files.