# Install Mosquitto Broker

Install Mosquitto on Raspberry Pi:

```bash
sudo docker pull eclipse-mosquitto
```

Run Mosquitto to test the connection:

```bash
sudo docker run -it -p 1883:1883 -p 9001:9001 eclipse-mosquitto
```

### Good tips:&#x20;

You can remotely control the raspberry pi from your computer by going to the terminal on Mac and type "ssh\@raspberry\_pi\_ip\_addr" for example "ssh\@192.169.34.1"


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.aic-eec.com/general/hot-cloud/installations/install-mosquitto-broker.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
