diff --git a/docs/install/upgrade.md b/docs/install/upgrade.md index de10681adb4d9..7b8b0347bda9a 100644 --- a/docs/install/upgrade.md +++ b/docs/install/upgrade.md @@ -1,33 +1,37 @@ # Upgrade -This article walks you through how to upgrade your Coder server. +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. -To upgrade your Coder server, simply reinstall Coder using your original method +## Reinstall Coder to upgrade + +To upgrade your Coder server, reinstall Coder using your original method of [install](../install). -## Via install.sh +### Coder install script -If you installed Coder using the `install.sh` script, re-run the below command -on the host: +1. If you installed Coder using the `install.sh` script, re-run the below command + on the host: -```shell -curl -L https://coder.com/install.sh | sh -``` + ```shell + curl -L https://coder.com/install.sh | sh + ``` -The script will unpack the new `coder` binary version over the one currently -installed. Next, you can restart Coder with the following commands (if running -it as a system service): +1. If you're running Coder as a system service, you can restart it with `systemctl`: -```shell -systemctl daemon-reload -systemctl restart coder -``` + ```shell + systemctl daemon-reload + systemctl restart coder + ``` + +### Other upgrade methods + +