diff --git a/docs/install/uninstall.md b/docs/install/uninstall.md
index 7a94b22b25f6c..c04bd6e9c2723 100644
--- a/docs/install/uninstall.md
+++ b/docs/install/uninstall.md
@@ -74,17 +74,17 @@ performing the following step or copying the directory to another location.
-## macOS
+## Linux
```shell
-rm -rf ~/Library/Application\ Support/coderv2
+rm -rf ~/.config/coderv2
+rm -rf ~/.cache/coder
```
-## Linux
+## macOS
```shell
-rm -rf ~/.config/coderv2
-rm -rf ~/.cache/coder
+rm -rf ~/Library/Application\ Support/coderv2
```
## Windows