[FEATURE] Claude code should put its files in one directory

Resolved 💬 5 comments Opened Oct 4, 2025 by samodadela Closed Jan 12, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

I want to mount my credentials in a container. Currently you need to mount:

  • ~/.claude/
  • ~/.claude,json
  • ~/.claude,json.backup

It would be much easier and neat to have all files in ~/.claude.

Proposed Solution

Put all claude code's files in one directory ~/.claude/.

Alternative Solutions

Create volume mounts for all files in the problem statement.

Priority

Medium - Would be very helpful

Feature Category

File operations

Use Case Example

I want to use claude with --dangerously-skip-permissions... for that I created a secure sandbox where claude can't do any damage.
However I also use claude on the host system occasionally.
It's easier for me to use the same configuration files (so I have history and all)... so I just mount the claude files in the container.
Having files not under one root complicates things and probably doesn't play well when claude wants to mv ~/.claude.json.

Additional Context

_No response_

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗