[BUG] "claude install" under Windows always installs itself under ~/.local and there is no way to change this

Resolved 💬 4 comments Opened Mar 4, 2026 by adets Closed Apr 1, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

This was already reported and your stupid bot closed it as a duplicate (though it is not a duplicate) and doesn't allow to reopen: https://github.com/anthropics/claude-code/issues/21019
It is unacceptable that it is not possible to configure the installation directory.

What Should Happen?

See https://github.com/anthropics/claude-code/issues/21019 for details

Error Messages/Logs

Steps to Reproduce

See https://github.com/anthropics/claude-code/issues/21019

Claude Model

None

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.1.66

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

_No response_

View original on GitHub ↗

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