What probably matters to youSection of the release
What
A flag is an option you add to the claude command. The new --desktop flag opens the Claude Desktop app. Claude Code stops with an error if you combine it with:
--bg, --background or --routine, which run Claude Code in the background
The background commands logs, attach, stop, kill, respawn and rm used to be recognized only as the first word after claude. They are now also recognized after general options, as in claude --settings x logs. Any --settings or --managed-settings given before them is applied first.
Why
You can put general options before background commands, and those settings take effect. The clear errors keep --desktop from being mixed with options it can't honour.
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed sinceAnthropic's documentation has since written up --desktop, on Desktop application.From your shell, [`claude --desktop`](/docs/en/cli-reference#cli-flags) opens Desktop directly without starting a terminal session. It requires Claude Code v2.1.285 or later and has the same platform and sign-in requirements as `/desktop`.…desktopsee the edit
How sure we are
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up --desktop, on Desktop application.
Anthropic's release notes agreeAdded claude --desktop to open the Claude desktop app on the current directory, or on a session with --continue / --resume <id>
The name it cites is new in this buildNew in this build: --desktop