[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.

  1. Claude native builds default to ~/.local/bin with seemingly no way to change that.
  2. 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

  1. claude install [options] [target] should have a path/install directory option added
  2. future CC updates should maintain that location
  3. CC should look for the claude binary 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_

View original on GitHub ↗

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