amazon-q-developer-cli
amazon-q-developer-cli copied to clipboard
Support minimal installations without requiring qterm
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:
- Verify the system libc version
- Copy only the
qbinary to~/.local/bin - Manually append
~/.local/binto the user's PATH, if it is not already added - Go through the login flow