# How to update Pleroma

**URL:** https://eijil.com/t/how-to-update-pleroma/536
**Category:** 其它
**Created:** [April 17, 2025, 2:21am UTC](https://eijil.com/t/how-to-update-pleroma/536 "2025-04-17T02:21:54Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Tristan](https://eijil.com/user_avatar/eijil.com/tristan/32/986_2.png) [@Tristan](https://eijil.com/u/Tristan)
#### Post date: [April 17, 2025, 2:21am UTC](https://eijil.com/t/how-to-update-pleroma/536/1 "2025-04-17T02:21:55Z")

</div>

```auto
cd /opt/pleroma
sudo -Hu pleroma git fetch --all

```

visit [https://git.pleroma.social/pleroma/pleroma/-/releases](https://git.pleroma.social/pleroma/pleroma/-/releases) to find the latest stable version, e.g v2.9.1, then run:

```auto
sudo -Hu pleroma git checkout v2.9.1
systemctl stop pleroma
sudo -Hu pleroma MIX_ENV=prod mix ecto.migrate
systemctl start pleroma

```

If you’re using soapbox as the frontend, run the following commands to upgrade soapbox to the latest version:

```auto
cd 
curl -O https://dl.soapbox.pub/main/soapbox.zip
busybox unzip soapbox.zip -o -d /opt/pleroma/instance/static

```
