@@ -11,26 +11,23 @@ This article walks you through how to upgrade your Coder server.
11
11
<div class =" tabs " >
12
12
13
13
To upgrade your Coder server, simply reinstall Coder using your original method
14
- of[ install] ( ../install ) . If you are using the Official Coder AMI on AWS, use the
15
- first option to upgrade.
14
+ of[ install] ( ../install ) .
16
15
17
16
###install.sh
18
17
19
- If you installed Coder using the` install.sh ` script, re-run the below command
20
- on the host:
18
+ 1 . If you installed Coder using the` install.sh ` script, re-run the below command
19
+ on the host:
21
20
22
- ``` shell
23
- curl -L https://coder.com/install.sh| sh
24
- ```
21
+ ``` shell
22
+ curl -L https://coder.com/install.sh| sh
23
+ ```
25
24
26
- The script will unpack the new` coder ` binary version over the one currently
27
- installed. Next, you can restart Coder with the following commands (if running
28
- it as a system service):
25
+ 1 . If you're running Coder as a system service, you can restart it with` systemctl ` :
29
26
30
- ``` shell
31
- systemctl daemon-reload
32
- systemctl restart coder
33
- ```
27
+ ``` shell
28
+ systemctl daemon-reload
29
+ systemctl restart coder
30
+ ```
34
31
35
32
###docker-compose
36
33
@@ -46,6 +43,24 @@ docker-compose pull coder && docker-compose up -d coder
46
43
See
47
44
[ Upgrading Coder via Helm] ( ../install/kubernetes.md#upgrading-coder-via-helm ) .
48
45
46
+ ###Coder AMI on AWS
47
+
48
+ 1 . Run the Coder installation script on the host:
49
+
50
+ ``` shell
51
+ curl -L https://coder.com/install.sh| sh
52
+ ```
53
+
54
+ The script will unpack the new` coder ` binary version over the one currently
55
+ installed.
56
+
57
+ 1 . If you're running Coder as a system service, you can restart it with` systemctl ` :
58
+
59
+ ``` shell
60
+ systemctl daemon-reload
61
+ systemctl restart coder
62
+ ```
63
+
49
64
###Windows
50
65
51
66
Download the latest Windows installer or binary from