Coding agent · Cursor

Cursor CLI

The agent from the Cursor editor, available in your terminal.

  • Command cursor-agent
  • Runs in 7 StoicSoft apps
  • Last verified 2026-12-03

Install and sign in

macOS
curl https://cursor.com/install -fsS | bash
Linux
curl https://cursor.com/install -fsS | bash

No catalog installer for Windows; see the vendor’s instructions.

Sign in

Go to your project folder and run:

cursor-agent login

The first run walks you through signing in. After that, the same command starts a session.

Docs: cursor.com/docs/cli/installation

Run it once, without the chat screen

One-shot mode answers a single request and exits. It is how StoicSoft apps run Cursor CLI, and how you put it in a script.

cursor-agent -p "Explain how this project is organised"

Pick up where you left off

Resume a past session with cursor-agent --resume <session-id>.

Choose a model

Add --model <model>, for example auto. StoicSoft apps read the current list from the agent itself.

Permission levels

How much Cursor CLI may do without asking you. Start low; raise it once you trust it on this project.

LevelWhat it meansFlag
Read onlyLooks, answers, changes nothing.No verified flag
Edit filesEdits inside the project folder, asks before commands.No verified flag
Edit and run commandsEdits and runs commands such as your tests.No verified flag
Full autoNo questions asked. Use in a throwaway folder or sandbox.--force

“No verified flag” means the StoicSoft catalog has no tested command-line switch for that level. The agent may still offer it in its own settings; otherwise it asks you each time.

Cursor CLI in StoicSoft apps

7 apps run the Cursor CLI you installed, signed in to your own account.

  • Runs coding agents as terminals side by side, resumes past sessions, switches models, and lets one agent hand a task to another.

  • Its agent chat drives the CLI you pick and hands it the browser’s own tools over MCP.

  • “Your coding agent” is an AI provider: answers about your machine come from the CLI you are signed in to, so no API key is stored.

  • Chat with your vault through the agent you pick, and feed saved context into your agents.

  • Describe a screen, slide or brand kit; the agent you pick writes it as real files, with a live preview and a quality gate.

  • Dictate the brief; your agent writes the script and the scenes while the app voices and renders them.

  • Turns your recorded clicks and screenshots into a written walkthrough, using your agent CLI or an API key.

The other direction: Cursor CLI calling the apps

Every StoicSoft app ships an MCP server. In an app’s agent access screen, pick Cursor CLI and the app adds itself to this file:

macOS
~/.cursor/mcp.json
Linux
~/.cursor/mcp.json
Windows
%USERPROFILE%\.cursor\mcp.json

Who checked these facts

Each record is a real run of Cursor CLI, by the app or test station that relies on it.

Checked byCursor CLI versionSystemDate
1DevTool—Windows—
1DevTool—macOS—
1DesignTool2026.10.22macOS—
StoicSoft test station2026.10.22macOS2026-11-30
StoicSoft test station2026.10.22macOS2026-12-03

Binary names: macOS: cursor-agent, agent · Linux: cursor-agent, agent · Windows: cursor-agent.cmd, cursor-agent.exe, agent.cmd, agent.exe. Also known as cursor-agent, agent, agents.

Cursor CLI: common questions

How do I install Cursor CLI?
Run curl https://cursor.com/install -fsS | bash in a terminal. Then type cursor-agent login in your project folder; the first run asks you to sign in.
How do I run Cursor CLI without the interactive screen?
Use its one-shot mode: cursor-agent -p "Explain how this project is organised". It prints the answer and exits, which is how StoicSoft apps and scripts run it.
Which StoicSoft apps support Cursor CLI?
1DevTool, StoicBrowser, 1MachineTool, 1AIVault, 1DesignTool, 1VideoTool, 1ShowcaseTool. It can also call every StoicSoft app over MCP; the apps write themselves into its settings file for you.