Uninstall
Learn how to uninstall Coder
On this page
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
sudo apt remove codersudo yum remove codersudo apk del coderIf you installed Coder manually or used the install script on an unsupported operating system, you can remove the binary directly:
sudo rm /usr/local/bin/coderbrew uninstall coderIf you installed Coder manually, you can remove the binary directly:
sudo rm /usr/local/bin/coderwinget uninstall Coder.CoderCoder as a system service configuration
sudo rm /etc/coder.d/coder.envCoder 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.
rm -rf ~/.config/coderv2
rm -rf ~/.cache/coderrm -rf ~/Library/Application\ Support/coderv2rmdir %AppData%\coderv2