This article walks you through how to uninstall your Coder server.

To uninstall your Coder server, delete the following directories.

Cached Coder releases

rm -rf ~/.cache/coder

The Coder server binary and CLI

Coder as a system service configuration

sudo rm /etc/coder.d/coder.env

Coder settings 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.

See an opportunity to improve our docs? Make an edit.