OpenCursor

The free, open source Cursor.

An AI code editor that works with whatever you already use. Or start free: OpenCode's free models need no account, and 18 more need only a free key.

Free and MIT licensed, downloaded 1,068 times. Also for Windows and Linux.

OpenCursor with a Cmd K edit open in cart.ts: the old line in red, the new one in green, Accept and Reject above it, and the model picker in the chat panel on the right.
A ⌘K edit, waiting for you to keep it. Built on Code-OSS, the open core of VS Code, so it feels like home. Settings and keybindings come over from VS Code or Cursor in one step.

Bring your own model.

Start free, use what you already have, or run a model on your own computer. Switch from the model menu at any time, even halfway through a conversation.

18free models

Free

On the providers' free tiers with a free key, which OpenCursor walks you through. OpenCode's free models need no account at all.

  • Groq
  • Google
  • Mistral
  • NVIDIA
  • OpenRouter
  • Z.ai
  • SambaNova
11providers

Your API key

Paste a key and pay the provider directly. Nothing goes through us.

  • Anthropic
  • OpenAI
  • Gemini
  • OpenRouter
  • DeepSeek
  • xAI
  • Mistral
  • Groq
  • NVIDIA
  • Z.ai
  • SambaNova
5coding tools

Your subscription

Signed in to a coding tool already? OpenCursor drives it, so your plan just works.

  • Claude Code
  • Codex
  • Gemini CLI
  • Grok
  • OpenCode
2local runners

Your computer

Models on your own machine. Nothing leaves it, and it works offline.

  • Ollama
  • LM Studio

What's inside.

The parts of Cursor people use every day, open and in one place.

⌘L

An agent that asks before it acts.

Describe the change. The agent reads your code, edits files and runs commands, and checks with you before anything risky. Pick how it works with ⌘ .

Edit in place ⌘K

Select code, say what should change, review the diff right there. Keep it or undo it.

Completion Tab

Suggestions as you type, from whichever model you pick for it.

Context @

Point the agent at files, folders, docs or your git changes.

Terminal ⌘K

Say what you want to run in plain words and get the command.

Checkpoints

Every agent step can be rolled back, files and all.

MCP

Connect MCP servers to give the agent tools beyond the editor.

Install.

Download the app, or paste one line into a terminal. The line picks the right file for your system and skips the first launch warnings.

macOS Apple silicon and Intel

curl -fsSL opencursor.org/install.sh | sh

Recommended. The line installs the right build for your chip into Applications and opens without a warning.

Using the .dmg? The app is not notarized by Apple yet, so on first launch open System Settings, Privacy & Security, and click Open Anyway.

Windows x64 and Arm

irm opencursor.org/install.ps1 | iex

First launch. If SmartScreen appears, click More info, then Run anyway. No administrator rights needed.

Linux x64 and arm64

curl -fsSL opencursor.org/install.sh | sh

Updates. New versions download in the background and install when you quit. On a .deb or .rpm install, one click and your password.

Open source.

Every line is on GitHub under the MIT license. Read how it works, fork it, send a pull request, or open an issue when something breaks. The app can start one for you from Help.

The open source Cursor. An AI code editor that works with whatever model you already use.

TypeScript Star Fork MIT license Latest release

Questions.

Is OpenCursor free?

Yes. OpenCursor is free and open source under the MIT license, with no account and no subscription. If you use a paid model, you pay that provider directly, at their price. With the free models or a local model, it costs nothing at all.

Is OpenCursor a free alternative to Cursor?

It is an independent, open source AI code editor with the workflow people use Cursor for every day: an agent chat with Agent, Plan, Debug and Ask modes, Cmd+K edits in place, Tab completion, @ context, project rules and MCP servers. The difference is that it runs on the model you choose instead of a subscription. It is not made by or affiliated with Anysphere, the company behind Cursor.

Can I use my Claude or ChatGPT subscription?

Yes. If you are signed in to Claude Code or the Codex CLI, OpenCursor drives it in the background, so the work counts against the Claude or ChatGPT plan you already have. Gemini CLI, Grok and OpenCode work the same way.

Which models can I use for free?

OpenCode's free models work with no account, installed in one click. On top of that, 18 models are free on the providers' own free tiers, from Groq, Google Gemini, Mistral, NVIDIA, OpenRouter, Z.ai and SambaNova; each needs a free key, and OpenCursor shows you how to get one. Free (auto) moves to the next free model when one reaches its limit.

Does it work with local models and offline?

Yes. Point it at Ollama, LM Studio or any OpenAI compatible server, on your computer or another one on your network. Nothing leaves your machine, and it keeps working without internet.

Is my code sent to OpenCursor?

No. There is no OpenCursor server in between: requests go from your computer straight to the model provider you picked, and API keys stay in your system keychain. Once a day the app sends an anonymous install count (a random ID, the version and the OS), which you can turn off in Settings.

Do my VS Code extensions and settings work?

OpenCursor is built on Code-OSS, the open source core of VS Code, so themes, keybindings and most extensions work as before. Extensions install from Open VSX, and your settings and keybindings come over from VS Code or Cursor in one step.

Which systems does it run on?

macOS on Apple silicon and Intel, Windows on x64 and Arm, and Linux as .deb, .rpm or .tar.gz on x64 and arm64. New versions install themselves; a .deb or .rpm install updates with one click and your password.

Is OpenCursor the same as PawanOsman/OpenCursor?

No. PawanOsman/OpenCursor on GitHub is a separate VS Code extension, and the IndexedDB openCursor() method is unrelated too. OpenCursor at opencursor.org is a full desktop editor built on Code-OSS, with its source at github.com/noah-thing/open-cursor.

How do I install OpenCursor?

On macOS or Linux run curl -fsSL opencursor.org/install.sh | sh in a terminal. On Windows run irm https://opencursor.org/install.ps1 | iex in PowerShell. You can also download a file for your system from the download page.