chore(docs): reorganize installation docs (#11465)

This commit is contained in:
Muhammad Atif Ali
2024-01-10 15:00:19 +03:00
committed by GitHub
parent dfe8efc186
commit 9682db593e
22 changed files with 384 additions and 356 deletions
+48 -16
View File
@@ -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>