# Upgrade Wazuh Agents

1\. First we need to ssh into Wazuh container

```bash
sudo docker exec -it single-node-wazuh.manager-1 /bin/bash
```

2\. Next we run

```
/var/ossec/bin/agent_upgrade -l
```

to check which agents can be updated.

3\. RUn the next command to update the agent/agents

```
/var/ossec/bin/agent_upgrade -a IDNUMBERHERE
```