Upgrading
This article describes how to upgrade your Coder server.
Caution
Prior to upgrading a production Coder deployment, take a database snapshot since Coder does not support rollbacks.
For upgrade recommendations and troubleshooting, see Upgrading Best Practices.
Reinstall Coder to upgrade
To upgrade your Coder server, reinstall Coder using your original method of install.
Coder install script
-
If you installed Coder using the
install.shscript, re-run the below command on the host:curl -L https://coder.com/install.sh | sh -
If you're running Coder as a system service, you can restart it with
systemctl:systemctl daemon-reload systemctl restart coder
Other upgrade methods
If you installed using docker-compose, run the below command to upgrade the
Coder container:
docker-compose pull coder && docker-compose up -d coder


