Cursor CLI
cursorThe AI code editor, and the agent it ships for the command line.
The AI code editor, and the agent it ships for the command line.
Start the Cursor agent with an optional prompt, in interactive or print (non-interactive) mode. Subcommands, MCP, worktree and auth flags are left out.
promptmodepromptprintoutput_formatmodelstring · positional 0boolean--print-penum--output-formattextjsonstream-jsonenum--modeplanaskstring--modelgpt-5sonnet-4-thinkingboolean--continuepath--workspaceboolean--force-fhelphelpcursor-agent --help 2026-10-27Before it fills your prompt, Otty checks the installed cursor-agent against its version. A form that does not match your version is not offered.