top of page

Cursor Cmd+K not working in the terminal or editor: "Cmd+K has been retired" and what to use now

5 minutes ago
9 min read
Cursor logo with the title about Cmd+K not working in the terminal or editor and the Cmd+K has been retired notice, Data Studios original cover

Last verified: December 3, 2026


Pressing Cmd+K in Cursor used to open a small prompt box: in the terminal it turned a plain-English request into a shell command, and in the editor it rewrote the selected lines in place. Since late October 2026 the same keystroke shows a short notice telling you the feature is gone and pointing you to the chat panel. Nothing is wrong with your installation, your keyboard or your account. Cursor retired Cmd+K on purpose, and the replacement is Agent, opened with Cmd+I or by sending a selection with Cmd+L (Ctrl+I and Ctrl+L on Windows and Linux).


The change took effect on October 26, 2026, when a Cursor team member confirmed it on the official forum, and the documentation describes the replacement for macOS, Windows and Linux alike. Reinstalling or updating does not restore it, and no setting brings it back. The app has since been renamed Grok Build after SpaceX's acquisition of Cursor, but the editor works as before and the retirement still applies. The sections below show where Cmd+K now does something else, how to get a terminal command or a quick inline edit through Agent, and how to make Agent fast and cautious enough to feel close to the old shortcut.


··········


WHAT CURSOR SHOWS WHEN YOU PRESS CMD+K NOW.


In the integrated terminal of the Cursor IDE, the prompt box still opens for a moment, and then a notice replaces the generated command. The text users report, and that the Cursor team quoted on the forum, is the following.


Cmd+K Has Been Retired. Select code and press Cmd+L to add it to Agent.

The wording is written for the editor, which is why "select code" reads oddly when you are in a terminal; the Cursor team acknowledged this on the forum thread. The first report came on October 26, 2026 from a macOS user whose build was dated October 23, 2026, and the user noted that the shortcut had worked an hour earlier. That timing fits a change switched on from Cursor's side, which explains why some people saw it before installing any update.


The same key combination now does different things depending on where you press it. The table summarizes what Cursor's current documentation and release notes say.


........


Where you press it

What Cmd+K / Ctrl+K does now

Source

Cursor IDE terminal

Shows the "Cmd+K Has Been Retired" notice instead of a command

Cursor team reply on the official forum, October 26, 2026

Cursor IDE editor

Inline edit is gone; select code and press Cmd+L to send it to Agent

Agent mode documentation, updated November 23, 2026

Agents Window, general

Toggles the side panel, like Cmd+L

Agents Window keyboard shortcuts reference

Agents Window, with code selected

Adds the selection to a new chat

Agents Window keyboard shortcuts reference

Agents Window palette

Opens the palette with Select Model, Archive and New Side Chat

Release notes for version 3.25, October 14, 2026


........


Old bookmarks follow the same path. The former documentation pages for inline edit and for Cmd+K in the terminal now redirect to the Agent mode page, which states that Cmd+K "used to open inline edit, which has been replaced by this workflow."


··········


WHY CURSOR'S CMD+K STOPPED WORKING: CAUSES AND CHECKS.


There is one root cause, the retirement, but several situations make it look like a bug or keep the old behaviour out of reach. Each row gives a quick way to confirm which one applies to you.


........


Cause

How to check

Fix

Cmd+K was retired by Cursor on October 26, 2026

The terminal or editor shows "Cmd+K Has Been Retired"

Use Agent: Cmd+I for a new request, Cmd+L to send a selection

You are in the Agents Window, where Cmd+K never generated commands

Cmd+K opens a palette or toggles the side panel

Ask Agent for the command, or open the project in the IDE

You updated or reinstalled hoping to restore it

The notice still appears after the update

Stop retrying; the Cursor team said updating will not bring it back

Agent feels slow for one-line tasks

Replies take several seconds on a heavy model

Pick a lighter, faster model in the model picker

You want to approve every command before it runs

Agent runs some commands automatically

Set the run mode to Allowlist and leave the list empty

An old help link sends you somewhere unexpected

The inline edit page opens the Agent mode page

Follow the Agent mode page; the old pages were retired


........


The second row deserves a word of explanation. The Agents Window is the newer, chat-first interface of the app, separate from the classic editor (the IDE). In August 2026, before the retirement, a Cursor forum reply already explained that terminal command generation with Cmd+K was available only in the IDE, and that in the Agents Window the same keys opened a search palette. Users who moved between the two interfaces sometimes took that difference for a fault. After October 26 the distinction no longer matters for command generation, because the feature has left the IDE as well.


··········


HOW TO GET A TERMINAL COMMAND IN CURSOR WITHOUT CMD+K.


The Cursor team's own suggestion on the forum was to describe the task to Agent, which writes the command and can run it in a terminal for you. The steps are the same on every platform, with Ctrl in place of Cmd on Windows and Linux.


1. Press Cmd+I (Ctrl+I) to open the Agent panel.


2. Describe what you need in plain words, for example "list the ten largest files in this folder" or "find which process is using port 3000".


3. Read the command Agent proposes. Depending on your run mode, Agent either asks before running it or runs it directly in its terminal.


4. If you only want the text of the command, say so in the request ("show me the command, do not run it") and copy it into your own terminal.


5. To ask about output you already have, select the lines in the terminal and press Cmd+L (Ctrl+L) to add them to the chat before typing your question. The Cursor team recommended this step for error messages and logs.


Agent runs commands according to the run mode you set, and the documentation describes three modes. The table lists them as they appear in the current Grok Build documentation.


........


Run mode

What happens to terminal commands

Sandbox

Auto-review (default)

Known-safe calls run without asking; other actions go to a reviewing classifier

Yes, for shell commands when possible

Allowlist

Only commands on your allowlist run without approval; an empty list asks every time

Optional for supported shell commands

Run Everything

Every tool call runs automatically

No


........


The setting lives under Settings, Agents, in a section the documentation labels "Approvals & Execution" on the run modes page and "Execution and Approvals" on the terminal page; the Cursor team used the second label on the forum. The run modes page also notes that the older "Ask Every Time" option was deprecated and that Allowlist with an empty allowlist gives the same behaviour. That is the closest match to the old Cmd+K flow, where nothing ran until you pressed Enter yourself.


··········


REPLACING CMD+K INLINE EDITS IN THE CURSOR EDITOR.


Inline edit was the second half of Cmd+K: you selected a few lines, typed an instruction such as "turn these fields into a struct", and the change appeared in place. The Agent mode documentation describes the replacement workflow.


1. Select the lines you want to change in the editor.


2. Press Cmd+L (Ctrl+L). Agent opens with those lines referenced in the input box.


3. Type the instruction, keeping it as specific as the old inline prompt ("rename this variable to userCount in this function only").


4. Agent applies the edit, and the changes appear in the diff view as they happen. Reject any part you do not want from the diff view.


5. If the result is wrong, hover over an earlier message in the chat and click Restore Checkpoint. The documentation says this reverts the files only; the chat messages stay.


The main practical difference is scope. Inline edit worked on the selected lines and nothing else, while Agent can search the codebase and edit several files. For a contained change, say in the request that only the selected lines should change. Several users on the forum, including people who used Cmd+K for short snippets in Jupyter notebooks, said this is slower and heavier than the old box, and the Cursor team replied that it had passed the feedback to the product team.


··········


MAKING CURSOR'S AGENT FAST AND CAREFUL ENOUGH FOR ONE-LINE TASKS.


Speed is the most common complaint in the forum thread, which passed 90 posts within ten days. Users recall Cmd+K answering in a second or less, while Agent on a large reasoning model can take noticeably longer. On October 28, 2026 the Cursor team gave two suggestions.


- Choose a lighter model for quick work. The team named Composer 2.5 with Fast turned on, or Grok 4.7 with effort set to Low and Fast turned on. The Agents Window shortcuts reference lists Cmd+/ (Ctrl+/) to cycle through AI models and Cmd+Option+/ (Ctrl+Alt+/) for the model toggle in chat.


- Keep approval in your hands. Set the run mode to Allowlist with an empty list, so that every command Agent proposes waits for you, as described in the previous section.


The model names come from the forum reply and reflect the options available at that date; the model picker may list different names after later updates. The Cursor team also explained the reason for the retirement in the same reply: use of Cmd+K "had dropped a long way from its peak as more of this kind of work moved into Agent," so the feature was folded into Agent.


··········


WHAT CURSOR HAS DOCUMENTED AND WHAT COMES ONLY FROM THE FORUM.


Part of what users need to know sits in the official documentation and part only in replies from the Cursor team on the community forum. A few frequently repeated claims come from users alone.


........


Statement

Status

Cmd+K inline edit was replaced by selecting code and pressing Cmd+L

Documented (Agent mode page)

Old inline edit and terminal Cmd+K pages redirect to Agent mode

Observable on the official documentation site

Run modes Auto-review, Allowlist and Run Everything; empty allowlist replaces Ask Every Time

Documented (run modes page)

Retirement date of October 26, 2026; updating will not restore it

Cursor team reply on the official forum

Reason: Cmd+K use had dropped as work moved into Agent

Cursor team reply on the official forum

Lighter model and empty allowlist as substitutes

Cursor team suggestion on the official forum

A keybinding, downgrade or hidden setting that restores Cmd+K

None found; no user reported a working method

Cmd+K will come back as an option

No commitment; only a note that feedback was passed on


........


One forum user described adding a project rule asking Agent to answer terminal requests with a single shell command and nothing else. That is a single report, not something the Cursor team confirmed, and the user said it still felt slower than the old shortcut.


··········


CURSOR CMD+K AFTER THE GROK BUILD RENAME.


On November 30, 2026 Cursor became the Grok Build desktop app. The announcement says the core app experience is unchanged, including the IDE, agent sessions and third-party models, while the Agents Window was rewritten and is in open beta. The rename does not restore Cmd+K and does not change the replacement workflow, and the documentation now lives under the Grok Build name with the same Cmd+I and Cmd+L shortcuts.


Two places deserve a look after future updates. The first is the forum thread, where users continue to ask for Cmd+K as an optional feature and where any reversal would most likely be announced. The second is the keyboard shortcuts reference, because Cmd+K is now bound to side panel and selection actions in the Agents Window, and any new quick-edit feature would show up there first. For background on the products and plans involved, see our guide to AI coding agent pricing for Cursor, Claude Code, Codex and GitHub Copilot and our report on OpenAI keeping its GPT-6 models in Grok Build, formerly Cursor. If Cursor refuses to start at all after an update, our page on the "--inspect-extensions is not supported in this build" error covers that separate problem.


··········


CURSOR'S CMD+K RETIREMENT: WHAT USERS CAN AND CANNOT GET BACK.


The "Cmd+K Has Been Retired" notice is the expected behaviour of every current Cursor build, so troubleshooting the keyboard, reinstalling or rolling back settings will not change it. Terminal command generation now goes through Agent with Cmd+I, quick edits go through a selection sent with Cmd+L, and Restore Checkpoint undoes an edit you do not want.


The gap that remains is speed and scope. A lighter model with Fast turned on narrows the delay, and an empty allowlist keeps every command under manual approval, yet neither recreates the one-second, single-selection box that many users relied on. Cursor has documented the replacement, explained the reason on its forum and made no promise to bring the shortcut back, so the Agent workflow described above is the one to set up today.


··········


FOLLOW US FOR MORE.


·····


DATA STUDIOS


·····


datastudios.org


bottom of page