Skip to content

Feature Request: Ability to change working directory during Claude session #3473

Description

@CharlonTank

Feature Description

I would like the ability to change the working directory during an active Claude session. Currently, Claude is bound to the directory where it was initially spawned, which limits flexibility when working across multiple projects.

Use Case

Here's a common workflow where this would be helpful:

  1. I clone a repository to understand how to use it
  2. I launch Claude in that cloned repo to understand the project context
  3. After understanding the project, I want to switch to my own project to apply what I've learned
  4. Currently, I'm limited to either:
    • Making remote modifications using relative paths (e.g., ../my-project/file.js)
    • Creating a context file in the cloned repo, then starting a new Claude session in my project to read that file

Proposed Solution

Add a command or feature that allows changing the working directory within an active Claude session, similar to cd in a shell. This would allow users to:

  • Maintain context from one project while working in another
  • Navigate between related projects without losing conversation history
  • Avoid the overhead of starting new sessions or using workarounds

Benefits

  • Improved workflow flexibility
  • Better context preservation across projects
  • Reduced need for workarounds like context files or relative path modifications
  • More natural navigation similar to traditional terminal usage

This feature would make Claude Code more versatile for developers who frequently work across multiple related projects or need to reference one codebase while working in another.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions