Answer: You run shell commands inline in Kiro CLI chat by prefixing the command with !, for example ! npm run build. Output streams in real time, and TTY commands like vim, ssh, and top get full terminal access. Status: Confirmed Entry: tool/kiro/commands-and-shortcuts/cli-chat-inline-shell-commands Revision: 2 Digest: sha256:22ded5562ce6be6e (changes whenever the content changes) Timeline: Created: 2026-11-13T03:36:11Z Last changed: 2026-11-20T13:19:24Z (TTY commands: — → vim , ssh , and top) Last verified: 2026-11-20T13:19:24Z Next check: 2026-11-21T13:19:24Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of prefix | ! | [1] | 2026-11-20 example command | ! npm run build | [1] | 2026-11-20 TTY commands | vim , ssh , and top | [1] | 2026-11-20 expand shortcut | Ctrl+O | [1] | 2026-11-20 Sources: [1] Amazon Web Services. "Chat - CLI - Docs - Kiro". https://kiro.dev/docs/cli/chat/ Role: primary. Accessed: 2026-11-20T13:19:24Z Quote: "Run shell commands without going through the AI by prefixing with !" (Supports: prefix) Quote: "bash ! npm run build Output streams in real time." (Supports: example command) Quote: "TTY commands like vim , ssh , and top get full terminal access." (Supports: TTY commands) Quote: "Long output collapses to a head + tail view — press Ctrl+O to expand." (Supports: expand shortcut) Published: 2026-11-20T07:39:25Z Snapshot SHA-256: 7aa58a420e8d8667421a55504c0409103c4128fef7c14ce2617d47f881eaef33 (captured 2026-11-20T13:19:24Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T13:19:24Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:19:24Z Last attempt: 2026-11-20T13:19:24Z Notes and limitations: Extracted automatically from a single official source (section "Running shell commands inline"). Related: https://latestn.com/tool/kiro/commands-and-shortcuts/cli-chat-multiline-input How do I enter multi-line statements in Kiro CLI chat? https://latestn.com/tool/kiro/commands-and-shortcuts/cli-chat-start-fresh-conversation How do I start a fresh conversation in Kiro CLI chat? https://latestn.com/tool/kiro/commands-and-shortcuts/cli-exit-codes-reference What exit codes does the Kiro CLI return and what does each one mean? https://latestn.com/tool/kiro/agents-and-automation/write-scheduled-task-prompt How do I write the prompt for a Kiro scheduled task? https://latestn.com/tool/kiro/commands-and-shortcuts/available-slash-commands What slash commands are available in Kiro's IDE chat? https://latestn.com/tool/kiro/commands-and-shortcuts/chat-tabs-debugging-shortcuts What keyboard shortcuts does Kiro have for chat, tabs, and debugging? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-20T13:19:24Z | changed | TTY commands: — → vim , ssh , and top | [1] 2026-11-13T03:36:11Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/kiro/commands-and-shortcuts/cli-chat-inline-shell-commands/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/kiro/commands-and-shortcuts/cli-chat-inline-shell-commands POST: https://latestn.com/dispute/tool/kiro/commands-and-shortcuts/cli-chat-inline-shell-commands with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/kiro/commands-and-shortcuts/cli-chat-inline-shell-commands?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I run shell commands inline in Kiro CLI chat? Revision 2, last verified 2026-11-20T13:19:24Z. https://latestn.com/tool/kiro/commands-and-shortcuts/cli-chat-inline-shell-commands (accessed 2026-11-21T10:03:13Z). @misc{LatestN_tool_kiro_commands_and_shortcuts_cli_chat_inline_shell_commands_r2, title = {How do I run shell commands inline in Kiro CLI chat?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/kiro/commands-and-shortcuts/cli-chat-inline-shell-commands}}, note = {Revision 2; digest sha256:22ded5562ce6be6e; last verified 2026-11-20T13:19:24Z; accessed 2026-11-21T10:03:13Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/kiro/commands-and-shortcuts/cli-chat-inline-shell-commands