Droid CLI Quickstart

Install the Droid CLI, start an interactive terminal session, and delegate your first reviewable coding task.

Use this quickstart to install the Droid CLI, start an interactive terminal session, and delegate a first scoped task. You will see how Droid reads your codebase, proposes changes, and waits for review before editing.

Before you begin

Make sure you have:

  • A terminal open in a code project
  • A Git repository (recommended for the full workflow demonstration)

Step 1: Install and start Droid

Install Droid CLI

>
Note

Linux users: Ensure xdg-utils is installed for proper functionality. Install with: sudo apt-get install xdg-utils

Then navigate to your project and start the Droid CLI.

bash
> cd /path/to/your/project
> droid
Droid CLI starts in your terminal with modes, autonomy, MCP status, and prompt composer visible.

You'll see Droid's welcome screen in a full-screen terminal interface. If prompted, sign in via your browser to connect to Factory's development agent.

Step 2: understand your codebase

Start by asking Droid to map the project before it edits anything:

> analyze this codebase and explain the overall architecture
> where are the main entry points, test commands, and code conventions?

Droid reads the files it needs, summarizes the architecture, and identifies the checks it should run before making changes.

Step 3: run your first reviewable change

Ask for one small, verifiable change:

> add structured logging to the app entry point and replace the existing console calls

Droid will:

  1. 1
    Inspect the current implementation.
  2. 2
    Propose a plan when the task needs one.
  3. 3
    Show the exact diff.
  4. 4
    Wait for approval before editing.
  5. 5
    Run the relevant validators when you ask it to finish the task.

Review the diff and run the relevant tests before accepting the change. This propose-and-approve loop is how you keep control as you delegate more work.

Step 4: pick a goal to go deeper

Implement larger features

Use Specification Mode so Droid writes a plan before it starts a multi-step implementation.

Implement larger features
Review and harden changes

Review pull requests and local diffs for correctness, security, and edge cases.

Review and harden changes
Automate headless work

Move repeatable workflows into Droid Exec for scripts, CI, scheduled jobs, and pull request checks.

Automate headless work
Coordinate multi-step work

Use Factory Missions when a task needs planning, delegation, validation, and checkpoints.

Coordinate multi-step work

Step 5: handle version control

Droid makes Git operations conversational and intelligent:

> review my uncommitted changes and suggest improvements before I commit
> create a well-structured commit with a descriptive message following our team conventions

Essential controls

Here are the key interactions you'll use daily:

ActionWhat it doesHow to use
Send messageSubmit a task or questionType and press Enter
Multi-line inputWrite longer promptsShift+Enter for new lines
Approve changesAccept proposed modificationsAccept change in the TUI
Reject changesDecline proposed modificationsReject change in the TUI
Switch modesToggle between modesShift+Tab
Bash modeRun shell commands directly without AI interpretationPress ! on an empty input; Esc to return
Transcript viewToggle detailed transcript with full message detailsCtrl+O
Mission ControlToggle Mission Control overlay (orchestrator sessions)Ctrl+T
Close overlayDismiss the active overlay or menuEscape
Scroll transcriptNavigate through previous turnsAlt+Up / Alt+Down
View shortcutsSee all available commandsPress ?
Exit sessionLeave droidCtrl+C or type exit

Useful slash commands

Quick shortcuts to common actions:

CommandWhat it does
/reviewStart the code review workflow (learn more).
/settingsConfigure droid behavior, models, and preferences.
/modelSwitch between AI models mid-session.
/sessionsList and resume previous sessions.
/forkFork the current session into a new branch.
/compressCompress the current session to free up context.
/missionsOpen the Missions menu to launch multi-agent projects.
/droidsManage custom Droids (specialized subagents).
/skillsManage prompt-based skills (reusable procedures).
/hooksManage tool execution hooks for lifecycle automation.
/pluginsManage plugins and marketplaces.
/mcpManage Model Context Protocol servers.
/accountOpen your Factory account settings in the browser.
/billingView and manage your billing settings.
/helpSee all available commands.

Learn how to create custom slash commands →