Loading image...Kiro

Product

  • About Kiro
  • Agents
  • IDE
  • CLI
  • Web
  • Mobile
  • Crew
  • Pricing
  • Downloads

For

  • Enterprise
  • Startups
  • Students

Community

  • Overview
  • Ambassadors
  • Case studies
  • Discord
  • Events
  • Powers
  • Shop
  • Showcase

Resources

  • Docs
  • Blog
  • Changelog
  • FAQs
  • Videos
  • Report a bug
  • Suggest an idea
  • Billing support

Social

Site TermsLicenseResponsible AI PolicyLegalPrivacy PolicyCookie Preferences
Kiro
  • Agents
  • Enterprise
  • Pricing
  • Docs
SIGN INDOWNLOADS
Kiro

Get Started

InstallationAuthenticationYour first project

Models

OverviewAvailable modelsReasoning effortAWS GovCloud (US) models

Features

How Kiro worksLocal command sandboxACP integrations
Specs
Steering
Hooks
MCP
Permissions
Custom agents
Workflows
Agent Skills
Powers
Cloud sessionsMemoryCompactionKiroignoreCheckpoints and rewind
Built-in tools
Configuration scopes

IDE 1.x

What's new in 1.0
Setup & First Run
Editor
Chat
Autopilot
Agent Artifacts
Slash commands
Agent notifications
Dockable chat
Export sessions
Terminal
Dev servers
Experimental
Troubleshooting0.x reference

CLI

What's new in V3
Setup & First Run
Terminal UI
Chat
Fullscreen modeVoice modeHeadless modeACPAuto complete
Experimental
2.x reference

Crew

Quick startInstallationRunning 24/7
Chat
Agent Capabilities
Features
Interfaces
Apps
System & storageConfigurationSecurityTroubleshooting

Web

Setup & First RunIdentity Center
Connect your repositories
Working with the agent
Autonomous modeScheduleConfiguration Sync
Sandbox

Mobile - Preview

Overview

Commands and Reference

CLI commandsSlash commandsBuilt-in toolsExit codesSettings

Billing

OverviewManaging your subscriptionUpgrading your planDowngrading your planCancelling your planPurchasing add-on creditsManaging your paymentsManaging usage notificationsManaging your taxesContacting billing supportDeleting your accountRelated questions

Enterprise

ConceptsOnboarding quickstart
Connecting your identity provider
Deployment optionsSubscribe your teamManage subscriptions
Governance
Monitor and track
SettingsManaged updatesTLS inspection compatibilityBillingIAMSupported regions
AWS GovCloud (US)

Privacy and Security

OverviewData protectionCode referencesCompliance validationInfrastructure securityIAM permissionsFirewalls, proxies, and data perimetersVPC endpoints (AWS PrivateLink)

Guides

OverviewRunning Kiro in the cloud
Language support
Learn by playing

Migration

Migrating from Q DeveloperMigrating from VSCodeUpgrading from Q CLI
  1. Docs
  2. IDE 1.x
  3. Chat
  4. Terminal
View as Markdown

Terminal integration

View as Markdown

Kiro's terminal integration lets the agent run shell commands on your behalf. Describe what you want in natural language, like installing dependencies, checking git status, or running tests, and Kiro translates your request into the appropriate command. A built-in approval system keeps you in control of what executes.

Loading image...Kiro command approval dialog showing options to Allow, Always allow, Deny, or Always deny an npm install command
Tip

Long-running commands like Dev Servers are automatically managed by Kiro, running in dedicated terminals without blocking your workflow.

Command approval and security

When Kiro suggests a command, you can Allow or Deny that invocation. When Kiro can derive a saved rule that will work for the command, it also offers persistent choices:

  • Always allow: Execute and trust similar commands in the future
  • Always deny: Block similar commands going forward

If Kiro cannot verify a working saved rule, it hides the persistent choices and explains why in the prompt.

You control which commands require approval through the Permissions system. Define shell capability rules in your permissions.yaml to allow, deny, or prompt for specific command patterns:

yaml
# ~/.kiro/settings/permissions.yaml rules: - capability: shell match: ["git *", "npm *", "npx *"] effect: allow - capability: shell match: ["rm -rf *", "sudo *"] effect: deny

For the full reference on configuring shell permissions, see Permissions.

Shell selection on Windows

On Windows, agent commands run in the shell configured as your default terminal profile. Supported profiles include PowerShell, Command Prompt, Git Bash, and WSL.

Kiro reuses an agent terminal only when its shell matches your configured profile. This prevents commands from running in a terminal created for a different shell.

Command timeouts

To change how long a local agent-run terminal command can run by default, open Settings and search for kiroAgent.terminalCommandTimeout. Enter a whole number of milliseconds. Values below 1000, fractional values, and nonnumeric values are treated as unset; values above 1800000 are clamped to 1800000. If the setting is empty, Kiro uses the built-in default of 120000 milliseconds (two minutes).

Changes apply to the next command in open local sessions without a restart. A command-specific timeout takes precedence over this default. Cloud sessions use the built-in default.

Using terminal context

Reference recent output from your active terminal in your conversations with #terminal. Important: #terminal always refers to the currently active/visible terminal window. If you have multiple terminals open, make sure the terminal you want to reference is active before using #terminal in your chat.

This feature allows Kiro to analyze command results, debug errors, and suggest solutions based on your actual terminal session.

#terminal analyze the error from the last npm run build

Kiro maintains awareness of command history and outputs, enabling:

  • Error Analysis: Understanding why commands failed with specific error messages
  • Output Interpretation: Explaining complex command results and logs
  • Follow-up Actions: Suggesting next steps based on actual results
  • Pattern Recognition: Identifying recurring issues across multiple commands
  • Environment Debugging: Helping resolve system and dependency conflicts

Troubleshooting

For issues with terminal integration and manual setup instructions, see the Shell Integration troubleshooting guide.

Page updated: September 24, 2026
Export sessions
Dev servers