# 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"
