PATH Expansion Fails with Quoted Tilde in Installation Script
Resolved 💬 8 comments Opened Jul 25, 2025 by abrinsmead Closed Jan 7, 2026
Bug Description
The Claude Code binary version displays this tip when it can't find ~/.local/bin in path.
● ~/.local/bin is not in your PATH
● Add it by running: export PATH="~/.local/bin:$PATH"
This will not work for users because the ~ is not expanded within quotes.
Consider removing the quotes or changing to ● Add it by running: export PATH="$HOME/.local/bin:$PATH"
Environment Info
- Platform:
- Terminal:
- Version: 1.0.60
- Feedback ID: a68361b2-e24b-4196-a5d5-d0fcd553780c
Errors
None
This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗