claude-code - 💡(How to fix) Fix Feature: Switch working directory and start new session via chat command in desktop app

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Root Cause

  • Efficiency: Power users switch between projects frequently. A chat-based command is much faster than clicking through UI dialogs.
  • Consistency: The CLI version already supports cd /path && claude — the desktop app should have an equivalent workflow.
  • Natural interaction: Users are already typing commands to Claude; directory switching fits naturally into this flow.

Fix Action

Fix / Workaround

Current Workaround

Code Example

open ~/Desktop/my-project

---

/cd ~/Desktop/my-project

---

alias cc-proj="cd ~/project && claude"
RAW_BUFFERClick to expand / collapse

Feature Request

Problem

In the Claude Code desktop app (Code mode), every time I want to work on a different project, I have to:

  1. Manually click the "New Session" button
  2. Manually browse and select the target directory

This is tedious when frequently switching between projects.

Proposed Solution

Allow users to switch the working directory and start a new session by sending a chat message directly in the desktop app's Code mode. For example:

open ~/Desktop/my-project

or

/cd ~/Desktop/my-project

Claude Code would then:

  • Switch the working directory to the specified path
  • Automatically start a new session in that directory (or offer to)

Why This Matters

  • Efficiency: Power users switch between projects frequently. A chat-based command is much faster than clicking through UI dialogs.
  • Consistency: The CLI version already supports cd /path && claude — the desktop app should have an equivalent workflow.
  • Natural interaction: Users are already typing commands to Claude; directory switching fits naturally into this flow.

Current Workaround

Use the CLI version with aliases like:

alias cc-proj="cd ~/project && claude"

But this defeats the purpose of having a desktop app.

Environment

  • Claude Code Desktop App (macOS)
  • macOS 14.x

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix Feature: Switch working directory and start new session via chat command in desktop app