Skip to content

Commit 6d8ab4f

Browse files
committed
New install guide for Amazon Q CLI
1 parent 18fc6bd commit 6d8ab4f

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

content/install-guides/aws-q-cli.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,15 @@ sudo apt update
5555
sudo apt install curl unzip -y
5656
```
5757

58-
Download the zip file with `curl`, extract the installer, and run it.
58+
Download the zip file with `curl`:
5959

6060
```bash { target="ubuntu:latest" }
6161
curl --proto '=https' --tlsv1.2 -sSf "https://desktop-release.codewhisperer.us-east-1.amazonaws.com/latest/q-aarch64-linux.zip" -o "q.zip"
62+
```
63+
64+
Extract the installer and run it:
65+
66+
```console
6267
unzip q.zip
6368
bash ./q/install.sh
6469
```
@@ -69,12 +74,14 @@ Answer the question about updating your shell config.
6974
✔ Do you want q to modify your shell config (you will have to manually do this otherwise)?
7075
```
7176

77+
To automate the install add the `--no-confirm` flag to the `install.sh` command.
78+
7279
{{% notice Note %}}
7380
If you have a Linux distribution with an older version of the GNU C Library or one which does not use the GNU C Library such as Alpine Linux, you can download an alternative package which uses the musl C library and has no external dependencies.
7481

7582
Substitute the `curl` command above with this one and use the same install instructions:
7683

77-
```console
84+
```bash { target="ubuntu:latest" }
7885
curl "https://desktop-release.codewhisperer.us-east-1.amazonaws.com/latest/q-aarch64-linux-musl.zip" -o "q.zip"
7986
```
8087

@@ -86,7 +93,7 @@ You now have the latest version of the Amazon Q Developer CLI installed.
8693

8794
Confirm the CLI is available by invoking the `q` command to print the version.
8895

89-
```bash { target="ubuntu:latest" }
96+
```console
9097
q version
9198
```
9299

0 commit comments

Comments
 (0)