aws / aws/amazon-q-developer-cli
Support minimal installations without requiring qterm
- Vorherrschende Sprache
- Rust
- Sterne
- 2k
- Forks
- 439
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Many users are only interested in using `q` as a standalone binary for use with `q chat`. Currently, the documented instructions for installing Q on Linux requires executing the `install.sh` script which is tightly coupled to also installing `qterm` and modifying dotfiles. But, due to #844 many users do not want this pseudoterminal to exist in their shell environment.
The `install.sh` performs a useful function by verifying libc support and automatically copying it to `~/.local/bin`. Therefore, it should make logical sense to update this script by adding a flag (e.g. `install.sh --q-cli`) that will:
1. Verify the system libc version
2. Copy *only* the `q` binary to `~/.local/bin`
3. Manually append `~/.local/bin` to the user's PATH, if it is not already added
4. Go through the login flow
Beitragsleitfaden
Rechercherichtung
Beginne mit dem Lesen von install.sh und der dokumentierten Linux-Installationsanleitung. Vergleiche dann den aktuellen an qterm gekoppelten Ablauf mit den Anforderungen in diesem Issue und #844. Als erledigt gilt die Aufgabe, wenn eine q-cli-Option libc überprüft, nur q installiert, sicherstellt, dass ~/.local/bin in PATH enthalten ist, und mit dem Login fortfährt, ohne qterm zu installieren.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- linux, shell
- Bereich
- cli, devops
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 42/100