MXterm Pro

Run Cursor CLI in MXterm: setup, split panes and git worktrees

Henry AGI
4 min read
Cover: run Cursor CLI in MXterm, with the Cursor and MXterm icons side by side.

To run Cursor's command-line agent in MXterm, install the Cursor CLI once and open it in an MXterm pane. The pane is a real shell, so you can keep a plain shell in a split pane beside it for your tests. MXterm does not install the Cursor CLI.

What this is, and who it is for

MXterm Pro
Three parts of running Cursor CLI in MXterm: setting up, seeing when Cursor needs you, and running it next to other agents.
The three parts of this guide.

A pane in MXterm is a real shell, and MXterm launches the CLIs you install. MXterm also adds a status dot that shows at a glance whether the agent needs you (amber means working, red means blocked and green means done), and it lets each agent work on its own branch in its own worktree. This is for developers who already run Cursor's agent from the command line and want it beside a terminal they control or another agent such as Claude Code or Codex.

Setting up

Cursor's documentation says "Cursor CLI lets you interact with AI agents directly from your terminal to write, review, and modify code", and gives the macOS install as a one-line install script (cursor.com/docs/cli/installation and /overview, read 29 October 2026; check the pages, the commands change). MXterm launches the agents you have installed; it does not install them.

Use the split buttons in the pane header to put a plain shell next to the CLI for your tests.

Related guideClaude Code Worktrees: Give Each Agent Its Own Branch

Seeing when Cursor needs you

MXterm Pro
Cursor CLI status dots in MXterm: amber means working, red means blocked, green means done
Cursor CLI status dots in MXterm: amber means working, red means blocked, green means done

See which agent is working, waiting or done. Desktop notifications tell you when an agent finishes or needs input.

Running Cursor next to other agents

MXterm Pro
Running Cursor CLI next to other agents with git worktrees: what isolation does and what it does not do
Running Cursor CLI next to other agents with git worktrees: what isolation does and what it does not do

If you run more than one agent, turn on "Isolate features in git worktrees" when you create the workspace; the app describes it as "Each agent pane starts in its own worktree and branch."

Each agent can work on its own branch in its own worktree. That reduces collisions; it is not a sandbox, and agents can still edit the same file, so give each agent a different part of the code. MXterm does not merge for you. When you are done with a worktree, remove it from Settings > Agents, or clean up from the Git panel. The guide to worktrees and the guide to running Claude Code and Codex in split panes cover the same setup for other agents. For other coding agents you can run in a pane, see best AI coding agents in 2026. For agents in one room, see the Control Room.

When a plain terminal is enough

For a Cursor task, a plain terminal is enough once the Cursor CLI is installed. MXterm helps when agents or tasks run in parallel and you want their state and branches in one window. To try it, use the download page.

See it running for yourself

Multi-pane SSH, Command Recipes (Cmd+J), and a multi-agent Control Room.

Download MXterm Pro

Frequently Asked Questions

How do I install the Cursor CLI on a Mac?

Cursor's docs give the macOS install as a one-line install script (cursor.com/docs/cli/installation, read 29 October 2026). Check that page for the current command and for how to start it.

Does MXterm install the Cursor CLI?

No. MXterm launches the agents you have installed and, if one is missing, opens the install guide or shows the command.

What is the Cursor CLI?

Cursor's docs say it "lets you interact with AI agents directly from your terminal to write, review, and modify code".

Does MXterm replace the Cursor IDE?

No. MXterm is a workspace for the AI coding agents you already use. It runs the CLIs you install in real terminal panes.

Can I see which agent needs me?

Yes. Status dots show amber for working, red for blocked and green for done.

Ask AI about MXterm Pro

Open a live answer in ChatGPT, Claude or Perplexity, based on this page. The assistant writes it, not us, so check the sources it cites.

Question sentHow do I run Cursor's CLI agent in MXterm Pro, and what does the status dot tell me?