Skip to content

Commit bb8f5b0

Browse files
committed
add package uninstall instructions
1 parent 4823ae4 commit bb8f5b0

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

docs/install/uninstall.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,26 @@ rm -rf ~/.cache/coder
1818

1919
## The Coder server binary and CLI
2020

21+
Debian, Ubuntu:
22+
23+
```sh
24+
sudo apt remove coder
25+
```
26+
27+
Fedora, CentOS, RHEL, SUSE:
28+
29+
```sh
30+
sudo yum remove coder
31+
```
32+
33+
Alpine:
34+
35+
```sh
36+
sudo apk del coder
37+
```
38+
39+
If you installed Coder manually or used the install script on an unsupported operating system, you can remove the binary directly:
40+
2141
```console
2242
sudo rm /usr/local/bin/coder
2343
```
@@ -33,7 +53,7 @@ sudo rm /etc/coder.d/coder.env
3353
> There is a `postgres` directory within the `coderv2` directory that has the
3454
> database engine and database. If you want to reuse the database, consider
3555
> not performing the following step or copying the directory to another
36-
> location
56+
> location.
3757
3858
### macOS
3959

@@ -50,7 +70,7 @@ rm -rf ~/.config/coderv2
5070
### Windows
5171

5272
```console
53-
C:\Users\USER\AppData\coderv2
73+
C:\Users\USER\AppData\Roaming\coderv2
5474
```
5575

5676
## Up Next

0 commit comments

Comments
 (0)