Files
coder/docs/install/uninstall.md
T
Edward Angert 101b62dc3e docs: convert alerts to use GitHub Flavored Markdown (GFM) (#16850)
followup to #16761 

thanks @lucasmelin !

+ thanks: @ethanndickson @Parkreiner @matifali @aqandrew 

- [x] update snippet
- [x] find/replace
- [x] spot-check


[preview](https://coder.com/docs/@16761-gfm-callouts/admin/templates/managing-templates/schedule)
(and others)

---------

Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com>
Co-authored-by: M Atif Ali <atif@coder.com>
2025-03-10 16:58:20 -04:00

97 lines
1.4 KiB
Markdown

<!-- markdownlint-disable MD024 -->
# Uninstall
This article walks you through how to uninstall your Coder server.
To uninstall your Coder server, delete the following directories.
## The Coder server binary and CLI
<div class="tabs">
## Linux
<div class="tabs">
## Debian, Ubuntu
```shell
sudo apt remove coder
```
## Fedora, CentOS, RHEL, SUSE
```shell
sudo yum remove coder
```
## Alpine
```shell
sudo apk del coder
```
</div>
If you installed Coder manually or used the install script on an unsupported
operating system, you can remove the binary directly:
```shell
sudo rm /usr/local/bin/coder
```
## macOS
```shell
brew uninstall coder
```
If you installed Coder manually, you can remove the binary directly:
```shell
sudo rm /usr/local/bin/coder
```
## Windows
```powershell
winget uninstall Coder.Coder
```
</div>
## Coder as a system service configuration
```shell
sudo rm /etc/coder.d/coder.env
```
## Coder settings, cache, 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.
<div class="tabs">
## macOS
```shell
rm -rf ~/Library/Application\ Support/coderv2
```
## Linux
```shell
rm -rf ~/.config/coderv2
rm -rf ~/.cache/coder
```
## Windows
```powershell
rmdir %AppData%\coderv2
```
</div>