You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Amazon Q Developer for the command line is a CLI tool for Amazon Q, a generative artificial intelligence (AI) powered assistant. You can use it to ask questions about AWS architecture and resources in addition to general developer tasks.
19
+
Amazon Q Developer CLI is a command-line tool for Amazon Q, a generative AI-powered assistant. You can use it to ask questions about AWS architecture, resources, and general development tasks.
22
20
23
-
It is available for a variety of operating systems and Linux distributions, supports the Arm architecture, and has multiple ways to install it.
21
+
It supports multiple operating systems, including Arm-based Linux distributions and macOS, supports the Arm architecture, and you can install it in several ways.
24
22
25
23
## What should I do before installing Amazon Q Developer CLI?
26
24
27
-
You need a Builder ID to use the Amazon Q Developer CLI. If you don't have one, visit [Do more with AWS Builder ID](https://community.aws/builderid) and use the Sign up button to create your Builder ID.
25
+
You need a Builder ID to use the Amazon Q Developer CLI. If you don't have one, visit [Do more with AWS Builder ID](https://community.aws/builderid) and click **Sign up with Builder ID**to create your AWS Builder ID.
28
26
29
-
This guide explains how to install the latest version of the Amazon Q Developer CLI on computers running Arm Linux and macOS.
27
+
This guide explains how to install Amazon Q Developer CLI on macOS and Arm Linux.
30
28
31
29
## How do I download and install Amazon Q Developer CLI?
32
30
33
-
The CLI is invoked with the `q` command, and you can install it on macOS and Arm Linux.
31
+
The CLI is invoked using the `q` command.
34
32
35
-
### How do I install the Q CLI on macOS?
33
+
### How do I install Amazon Q Developer CLI on macOS?
36
34
37
-
Install [Homebrew](https://brew.sh/) if it is not already available on your computer.
35
+
Install [Homebrew](https://brew.sh/) if it's not already available on your computer.
38
36
39
-
Install the Q CLI:
37
+
Then install the Q CLI:
40
38
41
39
```console
42
40
brew install amazon-q
43
41
```
44
42
45
43
### How do I install the Q CLI on Arm Linux?
46
44
47
-
The easiest way to install the latest version of the Q CLI for any Arm Linux distribution is to download and run the installer.
45
+
The easiest way to install the Q CLI on any Arm Linux distribution is to download and run the installer.
48
46
49
-
Before starting, make sure`curl` and `unzip` are available on your computer.
47
+
Before starting, ensure that`curl` and `unzip` are available on your computer.
50
48
51
-
The commands for Debian-based distributions such as Ubuntu are below. For other Linux distributions use the package manager to install `curl` and `unzip`.
49
+
{{% notice Note %}}
50
+
For Debian-based distributions such as Ubuntu, use the commands below. For other Linux distributions, use the appropriate package manager to install `curl` and `unzip`.
51
+
{{% /notice %}}
52
52
53
53
```bash { target="ubuntu:latest" }
54
54
sudo apt update
@@ -68,16 +68,16 @@ unzip q.zip
68
68
bash ./q/install.sh
69
69
```
70
70
71
-
Answer the question about updating your shell config.
71
+
You'll then be prompted about updating your shell config:
72
72
73
73
```output
74
74
✔ Do you want q to modify your shell config (you will have to manually do this otherwise)?
75
75
```
76
76
77
-
To automate the install add the `--no-confirm` flag to the `install.sh` command.
77
+
To automate the install, add the `--no-confirm` flag to the `install.sh` command.
78
78
79
79
{{% notice Note %}}
80
-
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.
80
+
If you're using a Linux distribution with an older version of the GNU C Library - or one that does not use it at all, such as Alpine - you can download an alternative package built with the musl C library and has no external dependencies.
81
81
82
82
Substitute the `curl` command above with this one and use the same install instructions:
83
83
@@ -107,7 +107,7 @@ q 1.7.2
107
107
108
108
The Q CLI can answer questions and solve problems related to your AWS resources and help you develop faster on AWS. To get the maximum benefit, you can configure the AWS CLI to use your account.
109
109
110
-
Follow the [AWS CLI install guide](/install-guides/aws_access_keys/) and the [AWS Credentials install guide](/install-guides/aws_access_keys/) to set up the AWS CLI and generate and configure access keys.
110
+
Follow the [AWS CLI Install Guide](/install-guides/aws_access_keys/) and the [AWS Credentials Install Guide](/install-guides/aws_access_keys/) to set up the AWS CLI and generate and configure access keys.
111
111
112
112
This allows you to use the Amazon Q Developer CLI to ask questions and solve issues specific to your AWS account.
113
113
@@ -143,4 +143,54 @@ An example is shown below:
143
143
144
144

145
145
146
-
You are ready to use the Q CLI.
146
+
## How can I set the Q CLI context to tailor responses?
147
+
148
+
The Q CLI reads your context when you start it. If you provide more information about yourself, you will get tailored responses that match your development environment.
149
+
150
+
There are multiple options to store context.
151
+
152
+
Use the `/context` command to see the possible locations to store your context.
153
+
154
+
```console
155
+
/context show
156
+
```
157
+
158
+
The help information is printed.
159
+
160
+
```output
161
+
current profile: default
162
+
163
+
global:
164
+
.amazonq/rules/**/*.md
165
+
README.md
166
+
AmazonQ.md
167
+
```
168
+
169
+
For example, you can create a new file to store your context.
170
+
171
+
```console
172
+
mkdir -p ~/.amazonq/rules/context
173
+
echo "I am an Arm Linux developer. I prefer Ubuntu and other Debian based distributions. I don't use any x86 computers so please provide all information assuming I'm working on Arm Linux. Sometimes I use macOS and Windows on Arm, but please only provide information about these operating systems when I ask for it." > ~/.amazonq/rules/context/context.md
174
+
```
175
+
176
+
When you invoke `q chat` you can confirm your context information was read by asking.
177
+
178
+
```console
179
+
did you read my context information?
180
+
```
181
+
182
+
The response confirms the context file was read:
183
+
184
+
```output
185
+
Yes, I've read your context information. I understand that you're an Arm Linux developer who prefers
186
+
Ubuntu and other Debian-based distributions. You don't use x86 computers, so I should provide
187
+
information assuming you're working on Arm Linux. You sometimes use macOS and Windows on Arm, but I
188
+
should only provide information about those operating systems when you specifically ask for it.
189
+
190
+
I'll keep this context in mind when answering your questions, focusing on Arm Linux-specific
191
+
information and Debian-based distributions by default.
192
+
```
193
+
194
+
Give it a try by asking questions such as `how do I install the aws cli?` and check that the answers match the provided context.
The [Eclipse Cyclone DDS](https://cyclonedds.io/) is an open-source implementation of the Data Distribution Service ([DDS](https://en.wikipedia.org/wiki/Data_Distribution_Service)) standard, designed for high-performance, real-time, and scalable communication in autonomous systems, robotics, industrial IoT, and aerospace applications.
23
+
24
+
It is part of the Eclipse Foundation and is widely used in Robotic Operating System (ROS) 2 as a key middleware framework for inter-process communication.
25
+
26
+
## Before you begin
27
+
28
+
This article provides a quick solution to install Cyclone DDS on Arm Linux.
29
+
30
+
Confirm you are using an Arm Linux machine by running:
31
+
32
+
```bash
33
+
uname -m
34
+
```
35
+
36
+
The output should be:
37
+
38
+
```output
39
+
aarch64
40
+
```
41
+
42
+
If you see a different result, you are not using an Arm computer running 64-bit Linux.
43
+
44
+
You need to install the following before building Cyclone DDS:
45
+
46
+
- C and C++ compilers (such as GCC).
47
+
- Git.
48
+
- CMake see [How do I install CMake?](/install-guides/cmake/)).
49
+
- OpenSSL.
50
+
51
+
For Ubuntu Linux, run the commands below. For other Linux distributions, use the package manager to install the software listed above.
52
+
53
+
```bash
54
+
sudo apt update
55
+
sudo apt install -y gcc g++ git cmake libssl-dev
56
+
```
57
+
58
+
## How do I build Cyclone DDS?
59
+
60
+
You can install Cyclone DDS by building the source code.
61
+
62
+
Clone the GitHub repository to create a build folder:
0 commit comments