On this page
First problems A connection is unavailable Settings fail to load A terminal shortcut does not arrive Work stopped or a check failed Report a problem to the maintainers Exit codes Related tutorialsTroubleshooting
Resolve common connection, terminal, and runtime problems.
First problems
| You see | Do this |
|---|---|
clio-coder: command not found after installing |
Open a new shell, or run the export PATH=... line the installer printed last. |
<target> at <url> did not answer (...) |
Start the model server, or change the address with /config. |
<provider> has no key or sign-in stored. or HTTP 401 |
Run the clio-coder auth login command it names, or fix the key in /config. |
... reports no tool support |
Pick a model that calls tools with /model. |
shell sandbox is WARN in doctor |
On Linux, install bubblewrap. CLIO Coder still works; more commands ask first. |
| A call was denied because nobody answered | Name the action in your request, or set safety.unattendedAfterSeconds: 0 to wait for you. |
A connection is unavailable
Start with these diagnostics:
Shell
clio-coder doctor
clio-coder targets --probeCheck that the selected endpoint is reachable, required credentials are present, and the model is loaded. A local server with an empty model list usually needs a model loaded before setup can finish. In Connections, reopen Guided setup or repair the saved connection.
For slow first responses from a local model, check the server's load state and capacity. Live tool-use behavior can be investigated with clio-coder doctor --deep; it makes generation requests.
Settings fail to load
CLIO Coder uses a strict version-2 settings schema. Invalid or retired keys produce a diagnostic naming the path. clio-coder upgrade applies the registered migration and preserves the original version-1 settings as a backup. Plain clio-coder doctor previews the fix for a retired value, and doctor --fix applies it.
Use Configuration essentials to find the settings layers and the full reference.
A terminal shortcut does not arrive
Open Ctrl+G and choose the corresponding menu action. A terminal or multiplexer may intercept Alt shortcuts. Ctrl+J is the portable newline; /help shows your effective bindings.
If a files or companion pane is unavailable, run clio-coder doctor and read its panes and external tool rows. clio-coder panes install adds a missing pane host, and clio-coder tools install yazi adds the file browser. See files and terminal panes.
Work stopped or a check failed
Read the recorded command and output in the desktop's Artifacts card or terminal /view. A failed test can point to a useful next task; ask CLIO Coder to explain the failure before changing the test's acceptance criteria.
For an interrupted context handoff, inspect /context and follow save and resume work.
Report a problem to the maintainers
/report in the terminal and clio-coder report in a shell draft a bug report, a feature request or a question. --last adds what CLIO Coder observed in the newest session in this folder.
Shell
clio-coder report bug --title "footer flickers on resize" --last --dry-runYou review the draft exactly as it will be posted. Local paths, user, host, project and branch names, e-mail and IP addresses, and secrets are masked first, and a draft that still holds this machine's names is refused. Nothing is sent until you press s in the terminal, answer the prompt in a shell, or pass --yes. --dry-run stops after the preview.
With a signed-in gh, CLIO Coder searches GitHub for the same problem, then posts a public issue or discussion under your account. Without gh it opens a prefilled form in the browser. A diagnostic bundle is opt-in, encrypted for the maintainers, and shared only from your own shell. CLIO Coder never sends anything on its own.
Exit codes
Every clio-coder command uses the same exit codes, so a script can tell why a run stopped:
| Code | Meaning |
|---|---|
0 |
Success, including --help, --version, and a --dry-run. |
1 |
Operational failure: an unreachable model, unresolved doctor findings, or a worker whose changes were withheld or who did no work. |
2 |
Usage error: an unknown command, flag, target, or agent, or a global flag placed after the subcommand. |
3 |
A dispatched worker was stopped by its permission refusal limit (permission_required). |
4 |
The priced spend ceiling was reached: safety.limits.sessionCostUsd (5 USD by default) or run --max-cost-usd. |
75 |
An install or upgrade is busy; nothing changed, so retry later. |
124 |
clio-coder run --timeout elapsed. |
141 |
The reader of a clio-coder run stdout closed, as in clio-coder run ... | head -1. |
129, 130, 143 |
Stopped by SIGHUP, SIGINT, or SIGTERM. |
A few commands, such as fleet events, telemetry verify, research start, and arena run, give small codes their own meaning; the full guide lists them. In a headless clio-coder run, the answer or JSON stream goes to stdout, while progress and diagnostics go to stderr. Automate with clio-coder run has the details.