Skip to content

chore: add uninstall steps to remove a Coder OSS deployment from docs #3742

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Sep 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 68 additions & 0 deletions docs/install/uninstall.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Uninstall

This article walks you through how to uninstall your Coder server.

To uninstall your Coder server, delete the following directories.

## Cached Coder releases

```console
rm -rf ~/.cache/coder
```

## The Coder server binary and CLI

Debian, Ubuntu:

```sh
sudo apt remove coder
```

Fedora, CentOS, RHEL, SUSE:

```sh
sudo yum remove coder
```

Alpine:

```sh
sudo apk del coder
```

If you installed Coder manually or used the install script on an unsupported operating system, you can remove the binary directly:

```console
sudo rm /usr/local/bin/coder
```

## Coder as a system service configuration

```console
sudo rm /etc/coder.d/coder.env
```

## Coder settings and the optional built-in PostgreSQL database

> There is a `postgres` directory within the `coderv2` directory that has the
> database engine and database. If you want to reuse the database, consider
> not performing the following step or copying the directory to another
> location.

### macOS

```console
rm -rf ~/Library/Application\ Support/coderv2
```

### Linux

```console
rm -rf ~/.config/coderv2
```

### Windows

```console
C:\Users\USER\AppData\Roaming\coderv2
```
9 changes: 7 additions & 2 deletions docs/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,23 @@
},
{
"title": "Kubernetes",
"description": "Install Coder with Kubernetes via Helm",
"description": "Install Coder with Kubernetes via Helm.",
"path": "./install/kubernetes.md"
},
{
"title": "Docker",
"description": "Install Coder with Docker / docker-compose",
"description": "Install Coder with Docker / docker-compose/",
"path": "./install/docker.md"
},
{
"title": "Standalone binaries",
"description": "Download binaries for macOS, Windows, and Linux.",
"path": "./install/binary.md"
},
{
"title": "Uninstall",
"description": "Learn how to uninstall Coder.",
"path": "./install/uninstall.md"
}
]
},
Expand Down