[FEATURE] Install location option for `claude install`
Resolved 💬 4 comments Opened Jan 26, 2026 by cemiu Closed Jan 30, 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
My home directory is transient (gets reset every day) and all my persistent storage is on a mounted volume.
With npm builds I just installed CC globally (npm install -g) and set npm's install dir to my persistent storage. This no longer works.
- Claude native builds default to ~/.local/bin with seemingly no way to change that.
- Installing then moving makes CC complain about the binary not being at ~/.local/bin/claude (even though it's in the PATH in a different location)
As things stand, I have to reinstall claude code every day.
Proposed Solution
claude install [options] [target]should have a path/install directory option added- future CC updates should maintain that location
- CC should look for the
claudebinary in the PATH, not in ~/.local/bin
Alternative Solutions
_No response_
Priority
Medium - Would be very helpful
Feature Category
CLI commands and flags
Use Case Example
_No response_
Additional Context
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗