aws / aws/amazon-q-developer-cli
Valid CLI path: CLI (/Users/user/.toolbox/tools/q/1.12.3/Amazon Q.app/Contents/MacOS/q) must be in /Users/user/.local/bin/q
- Vorherrschende Sprache
- Rust
- Sterne
- 2k
- Forks
- 439
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
### Checks
- [x] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue
- [x] I have run `q doctor` in the affected terminal session
- [x] I have run `q restart` and replicated the issue again
### Operating system
macOS 15.5.0 (24F74)
### Expected behaviour
When running the command (q issue) no issues or errors are displayed
### Actual behaviour
When I run the command (q issue) I'm getting the following error:
✘ Valid CLI path: CLI (/Users//.toolbox/tools/q/1.12.3/Amazon Q.app/Contents/MacOS/q) must be in /Users//.local/bin/q
✘ Doctor found errors. Please fix them and try again.
### Steps to reproduce
### Environment
```yaml
[q-details]
version = "1.12.3"
hash = "65aa9285fc7ec3716215386a89d3a626500a25a7"
date = "2025-07-03T01:14:12.212107Z (2d ago)"
variant = "full"
[system-info]
os = "macOS 15.5.0 (24F74)"
chip = "Apple M1 Pro"
total-cores = 10
memory = "16.00 GB"
[environment]
cwd = "/Users/USER"
cli-path = "/Users/USER"
os = "Mac"
shell-path = "/Users/USER/.toolbox/tools/toolbox/1.1.1986.0/toolbox-exec"
shell-version = "5.9"
terminal = "macOS"
install-method = "toolbox"
[env-vars]
PATH = "/Users/USER/.toolbox/bin:/Users/USER/.local/share/mise/installs/node/18.20.2/bin:/Users/USER/.local/share/mise/installs/python/3.12.9/bin:/Users/USER/.local/share/mise/installs/python/3.11.11/bin:/Users/USER/.local/share/mise/installs/python/3.10.16/bin:/Users/USER/.local/share/mise/installs/python/3.9.21/bin:/Users/USER/.local/share/mise/installs/python/3.8.20/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/USER/.cargo/bin:/Users/USER/.local/bin:/Applications/Visual Studio Code.app/Contents/Resources/app/bin:/Users/USER/.toolbox/bin"
QTERM_SESSION_ID = "21fc22a72b0d40d890db9ad08a8c3dd5"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.12.3"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
__CFBundleIdentifier = "com.apple.Terminal"
```
Beitragsleitfaden
Rechercherichtung
In der Issue werden weder eine Quelldatei noch ein Test genannt. Beginne damit, die `q doctor`-CLI-Pfadvalidierung für die toolbox-Installationsmethode nachzuverfolgen, und reproduziere sie unter macOS 15.5 mit den gemeldeten Pfaden. Erledigt ist die Aufgabe, wenn die gemeldete Installation korrekt behandelt wird und `q doctor` keinen ungültigen CLI-Pfad mehr meldet.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- macos, rust
- Bereich
- cli, operating-systems
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100