Skip to main content
Indent Shell brings the full power of Indent into your terminal, allowing you to chat with Indent and execute actions without leaving your command line environment.

Getting Started

Prerequisites

Before using Indent Local, make sure you have:
  1. Installed the Indent CLI (see Quickstart)
  2. Authenticated with your Indent account
  3. A project you want to work on

Starting a Session

To start using Indent Local:
  1. Navigate to your project directory:
cd my-project
  1. Start Indent Shell:
indent shell
This will start an interactive chat session in your terminal where you can work with Indent.

Command-line Options

The indent shell command supports several options to customize your experience:
--autorun
flag
Enable autorun mode automatically at startup. This allows Indent to automatically execute commands without requiring explicit confirmation for each step.
--depth
integer
default:"5"
Set the depth limit (maximum number of consecutive steps) when using autorun mode. Valid range is 1-30.
--chat-id
string
ID of an existing chat session to reconnect to.
--prompt
string
Provide an initial prompt to start the conversation with.
--headless
flag
Run a single prompt in headless mode (requires --prompt). Useful for CI/CD environments or scripts.

Keyboard Shortcuts

Indent Shell uses Ctrl key combinations on all platforms (including macOS), not Command (⌘) key combinations.
Ctrl+Y
Confirm execution of the current action (run command, apply file changes, etc.)
Ctrl+A
Toggle auto-confirm off/on/read-only. Learn more
Ctrl+T
Toggle thinking mode on/off. When enabled, Indent will think about the current task before proposing a solution.
Ctrl+D
Quit Indent Shell (with confirmation prompt)

Slash Commands

Indent Shell supports several built-in commands that you can use during a chat session by prefixing them with a forward slash (/):
/help
Show available slash commands
/autorun
Toggle autorun mode on/off. When set to read-only, Indent will only ask for confirmation for commands with potential side effects. When set to on, Indent will execute commands automatically at each step.
/thinking
Toggle thinking mode on/off. When enabled, Indent will think about the current task before proposing a solution.
/web
Move your current chat to a web browser. This opens the chat in Indent Web while preserving all context and history.
/cmd [command]
Execute a terminal command directly and add the result as context to your chat. For example: /cmd ls -la
/c or /checkpoint
Create a checkpoint of your current codebase state. This creates a temporary Git commit that isn’t visible in your repository’s history.
/r or /rollback
Roll back to a previously created checkpoint, restoring your codebase to that state.

Other Environments