Cursor home page
English
Search...
⌘K
Ask AI
Sign in
Download
Download
Search...
Navigation
Terminal
Documentation
Guides
Tools
Get Started
Welcome
Installation
Quickstart
Concepts
Core
Tab
Agent
Background Agents
Web & Mobile
Inline Edit
Rules
Memories
Context
Codebase Indexing
Ignore files
Model Context Protocol (MCP)
@ Symbols
Integrations
Bugbot (Code Review)
Slack
Git
Models
Models
API Keys
Configuration
Keyboard Shortcuts
Themes
Shell Commands
Account
Pricing
Billing
Update Access
Teams
Troubleshooting
Common Issues
Getting a Request ID
Troubleshooting Guide
On this page
Command Types
Features
Command Execution
Auto-run Mode
Output Monitoring
Configuration
Terminal
Run terminal commands automatically as part of agent operations
Agent can execute terminal commands as part of its operations.
Command Types
Agent executes terminal commands for installing dependencies, running build processes, executing tests, starting development servers, and running scripts.
Features
Command Execution
Runs terminal commands with real-time output display. Supports multi-step command sequences.
Auto-run Mode
When enabled, commands execute without confirmation. Safety guardrails can be configured to restrict certain operations.
Output Monitoring
Agent monitors terminal output for error detection, process completion, and information extraction.
Configuration
Terminal settings available in Agent modes:
| Setting | Description | |:--------|:------------| | Enable Terminal | Allow Agent to execute terminal commands | | Auto-run | Execute commands without manual confirmation | | Auto-fix Errors | Automatically attempt to resolve command failures | | Allow lists | Configure which commands are permitted to run automatically |
Terminal capabilities can be configured separately for each
Agent mode
.
Was this page helpful?
Yes
No
Assistant
Responses are generated using AI and may contain mistakes.