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

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


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 BranchSeeing when Cursor needs you


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


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.
Multi-pane SSH, Command Recipes (Cmd+J), and a multi-agent Control Room.
Frequently Asked Questions
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.
No. MXterm launches the agents you have installed and, if one is missing, opens the install guide or shows the command.
Cursor's docs say it "lets you interact with AI agents directly from your terminal to write, review, and modify code".
No. MXterm is a workspace for the AI coding agents you already use. It runs the CLIs you install in real terminal panes.
Yes. Status dots show amber for working, red for blocked and green for done.