Cursor CLI in the cloud.
A dedicated Linux machine provides browser VS Code and Cursor CLI in the terminal. The Cursor API key and model are selected at launch before the task starts.
API-key authentication from the Cursor dashboard.
Cursor CLI authenticates with an API key from the Cursor dashboard. Oyren sets the key entered at codespace launch inside the machine, making Cursor CLI ready when the terminal opens. Usage counts against the associated Cursor account, not Oyren credits. The model is also selected at launch, including Cursor's Auto choice.
# Your Cursor API key is set at launch. Nothing to paste in the terminal. agent
Cursor CLI does not run on Oyren's built-in credits or on other providers' keys. It always uses a Cursor key.
Codespace capabilities
The same machine under every agent. Cursor CLI is one way to drive it.
A dedicated Linux machine
Full Linux with sudo supports installing the build dependencies.
VS Code in the browser
Editor, file tree and terminal in one tab, on any device.
A terminal next to the agent
The agent and development server run in separate terminals.
A public URL
Every codespace has a public URL that routes a port for app access from any device.
Billed by the hour while it runs
Runtime is billed by the hour. Stopping the machine stops runtime billing.
Snapshots to pause and resume
Snapshots preserve the machine's state for later use and are billed monthly in credits.
From launch to a public URL with Cursor CLI
- 1
Codespace launch with Cursor CLI
Codespace launch selects Cursor CLI, a Cursor API key and a model. GitHub repos can be cloned, or the machine can start without one.
- 2
Terminal or Agent app
Cursor CLI runs in the VS Code terminal as agent, or as an Agent app, a chat view on the same machine.
- 3
Task brief and public URL
A task brief describes the change. VS Code supports diff review, and a running app port can be assigned a public URL.
Questions about Cursor CLI on Oyren
- Can I use Cursor CLI on Oyren without a Cursor account?
- No. Cursor CLI authenticates only with the API key from the Cursor dashboard, and usage counts against the associated account. Oyren credits and other providers' keys do not apply to Cursor CLI.
- Which model does Cursor CLI use on the codespace?
- The model is selected at launch from Cursor's list, including Auto, which lets Cursor choose. The selection is passed to the launch so the first session starts on that model.
- Does Cursor CLI need the Cursor editor installed?
- No. The codespace provides browser VS Code and a terminal, with the Cursor CLI binary already on the image. Additional tools can be installed with sudo.
- Can Cursor CLI show me the result at a public URL?
- The codespace has a public URL. An app running on a port can be routed to that URL and opened from any device. Cursor CLI itself edits and runs code on the machine.
- What does the codespace cost while Cursor CLI works?
- The machine is billed by the hour while it runs. Cursor CLI's usage is billed by Cursor to the associated account. Stopping the codespace ends runtime billing; snapshots preserve the state for later use.
Cursor CLI sessions on a codespace
A codespace runs Cursor CLI with the supported API-key or sign-in method and a task brief.
Start free