{"name":"--desktop","slug":"desktop","family":"cli","title":"CLI flags","noun":"CLI flag","description":"`--desktop` opens the Claude Desktop app and now errors when combined with background or worktree options","description_source":"entry","described_by":{"version":"2.1.285","anchor":"desktop-flag-rejected-when-combined-with-background-or-wor"},"presence":{"first_seen":"2.1.285","removed_in":null,"in_current_build":true,"newest_mined":"2.1.285","builds":1,"mined_builds":128,"first_cited":{"version":"2.1.285","released_at":"2026-09-29 17:32:09","spans":3}},"aliases":[],"entries":[{"version":"2.1.285","anchor":"desktop-flag-rejected-when-combined-with-background-or-wor","heading":"New --desktop flag, and background commands now accept options in front of them","line":"`--desktop` opens the Claude Desktop app and now errors when combined with background or worktree options","released_at":"2026-09-29 17:32:09","reason":"found in this entry's text, named in this entry"},{"version":"2.1.285","anchor":"new-desktop-cli-option","heading":"New --desktop option opens a session in the Claude Desktop app","line":"`claude --desktop` opens the session in the Claude Desktop app instead of the terminal, and works with `--continue` or `--resume`","released_at":"2026-09-29 17:32:09","reason":"found in this entry's text, named in this entry"},{"version":"2.1.285","anchor":"new-claude-desktop-launcher-for-claude-desktop","heading":"Open the Claude Desktop app from the terminal with claude --desktop","line":"The new `claude --desktop` flag opens the Claude Desktop app, and can resume a session there with `--continue` or `--resume`","released_at":"2026-09-29 17:32:09","reason":"found in this entry's text, named in this entry"},{"version":"2.1.285","anchor":"wide-ranging-desktop-option-rejects-subcommands-claude","heading":"--desktop rejects subcommands, and SDK sign-in checks allowed providers","line":"Claude Code refuses --desktop alongside a subcommand, and blocks SDK sign-in when managed settings do not allow the Anthropic API","released_at":"2026-09-29 17:32:09","reason":"found in this entry's text, named in this entry"}],"entries_total":4,"docs":[{"source":"claude-code","path":"changelog","title":"Claude Code changelog","documented":false}],"docs_total":1,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/cli\/desktop","family_url":"https:\/\/changelogs.core-directive.com\/reference\/cli.json"}