mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore(docs): reorganize installation docs (#11465)
This commit is contained in:
+48
-16
@@ -6,40 +6,68 @@ To uninstall your Coder server, delete the following directories.
|
||||
|
||||
## Cached Coder releases
|
||||
|
||||
```console
|
||||
```shell
|
||||
rm -rf ~/.cache/coder
|
||||
```
|
||||
|
||||
## The Coder server binary and CLI
|
||||
|
||||
Debian, Ubuntu:
|
||||
<div class="tabs">
|
||||
|
||||
```console
|
||||
## Linux
|
||||
|
||||
<div class="tabs">
|
||||
|
||||
## Debian, Ubuntu
|
||||
|
||||
```shell
|
||||
sudo apt remove coder
|
||||
```
|
||||
|
||||
Fedora, CentOS, RHEL, SUSE:
|
||||
## Fedora, CentOS, RHEL, SUSE
|
||||
|
||||
```console
|
||||
```shell
|
||||
sudo yum remove coder
|
||||
```
|
||||
|
||||
Alpine:
|
||||
## Alpine
|
||||
|
||||
```console
|
||||
```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:
|
||||
|
||||
```console
|
||||
```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
|
||||
|
||||
```console
|
||||
```shell
|
||||
sudo rm /etc/coder.d/coder.env
|
||||
```
|
||||
|
||||
@@ -49,20 +77,24 @@ sudo rm /etc/coder.d/coder.env
|
||||
> 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
|
||||
<div class="tabs">
|
||||
|
||||
```console
|
||||
## macOS
|
||||
|
||||
```shell
|
||||
rm -rf ~/Library/Application\ Support/coderv2
|
||||
```
|
||||
|
||||
### Linux
|
||||
## Linux
|
||||
|
||||
```console
|
||||
```shell
|
||||
rm -rf ~/.config/coderv2
|
||||
```
|
||||
|
||||
### Windows
|
||||
## Windows
|
||||
|
||||
```console
|
||||
C:\Users\USER\AppData\Roaming\coderv2
|
||||
```powershell
|
||||
rmdir %AppData%\coderv2
|
||||
```
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user