kiro-cli guide — CLI Guide ▶ Playground
Troubleshooting

Troubleshooting

Common problems and the commands that go with them: doctor, diagnostic, debug, log locations, and environment variables.

When something goes wrong, here’s the order to investigate in and which tools to use.

Step one: doctor

For most environment problems, running this first is the right move:

kiro-cli doctor          # diagnose and try to fix
kiro-cli doctor --all    # only diagnose, list all checks

Collecting environment info

kiro-cli diagnostic --format json-pretty

When you’re about to open an issue, pasting this info in is really helpful.

Common problems at a glance

SymptomPossible causeWhat to do
Headless hangs and won’t moveA tool needs approval but no one’s there to press itAdd --trust-all-tools or --trust-tools=...
--resume can’t find the conversationYou’re not in the original folderConversations are per-directory; go back to the original directory
Model unavailableThe model isn’t in this region or has been retiredRe-pick with /model, or drop --model to use the default
Agent not foundWrong agent name or the file doesn’t existConfirm with kiro-cli agent list
Tool still asks after adding allowedToolsTool name misspelledCheck the correct name with /tools; MCP needs @server/tool
Settings change didn’t take effectThe session already startedReopen chat
Subagent keeps asking for approvalSubagents don’t inherit parent trustSet allowedTools on the subagent’s agent, or set crew trust on the parent agent
MCP tools don’t show upThe server didn’t start successfullyCheck with kiro-cli mcp status

Reading logs

The conversation log lives here (macOS):

cat "$TMPDIR/kiro-log/kiro-chat.log"

Want to specify your own log file, or turn off colors:

KIRO_CHAT_LOG_FILE=/tmp/my-debug.log kiro-cli chat
KIRO_LOG_NO_COLOR=1 kiro-cli chat

Turning up the verbosity

kiro-cli chat -v        # repeatable: -vv, -vvv for more detail

Advanced debugging

kiro-cli debug          # development / advanced debugging commands

Reporting a problem

kiro-cli issue
TIP

Memorize the investigation order: doctor → read the log → diagnostic to gather data → only resort to issue if it really still won’t work. Eight out of ten problems get solved in the first two steps.

!

Logs and diagnostics can have paths, environment variables, and the like tucked inside them. Before pasting them into a public issue, take a quick look to make sure you’re not carrying a token or a private path along with it.

For the final chapter, here’s a cheat sheet you can glance at on the fly.