1 # Updating your instance
2 1. Go to the working directory of Pleroma (default is `/opt/pleroma`)
3 2. Run `git pull`. This pulls the latest changes from upstream.
4 3. Run `mix deps.get`. This pulls in any new dependencies.
5 4. Stop the Pleroma service.
6 5. Run `mix ecto.migrate`[^1]. This task performs database migrations, if there were any.
7 6. Start the Pleroma service.
9 [^1]: Prefix with `MIX_ENV=prod` to run it using the production config file.