aws / aws/amazon-q-developer-cli

Support minimal installations without requiring qterm

Open
#880 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2k
Forks
439
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.