---
title: Uninstall Telegraf Controller
description: Uninstall Telegraf Controller and remove all files associated with the application.
url: https://docs.influxdata.com/telegraf/controller/install/uninstall/
estimated_tokens: 790
publisher: InfluxData
canonical: https://docs.influxdata.com/telegraf/controller/install/uninstall/
date: '2026-08-25T08:20:28-06:00'
lastmod: '2026-08-25T08:20:28-06:00'
---

Uninstall Telegraf Controller and remove all files associated with the
application. This process depends on your operating system and installation
method.

[Linux](#linux-2)[macOS](#macos-2)[Windows](#windows-2)

## Linux

To fully uninstall Telegraf Controller from Linux:

1. **Stop Telegraf Controller**:

   * If running the application in place, stop the `telegraf_controller` process.

   * If you installed Telegraf Controller as a systemd service stop and
     disable the service:

     ```
     sudo systemctl stop telegraf-controller
     sudo systemctl disable telegraf-controller
     ```

2. **Remove all files associated with Telegraf Controller**:

   ```
   # Remove the telegraf_controller executable
   sudo rm -rf /opt/telegraf-controller

   # Remove the telegraf_controller shared directory, which includes the
   # SQLite database if using SQLite
   rm -rf ~/.local/share/telegraf_controller

   # Remove the service file if you installed Telegraf Controller as a service
   sudo rm /etc/systemd/system/telegraf-controller.service
   ```

3. If using PostgreSQL, **delete the `telegraf_controller` database** from your
   PostgreSQL instance:

   ```
   DROP DATABASE telegraf_controller;
   ```

## macOS

To fully uninstall Telegraf Controller from macOS:

1. **Stop Telegraf Controller**:

   * If running the application in place, stop the `telegraf_controller` process.

   * If you installed Telegraf Controller as a macOS LaunchDaemon and are
     running it as a service, stop the service:

     ```
     sudo launchctl unload /Library/LaunchDaemons/com.influxdata.telegraf-controller.plist
     ```

2. **Remove all files associated with Telegraf Controller**:

   ```
   # Remove the telegraf_controller executable
   sudo rm /usr/local/bin/telegraf_controller

   # Remove the telegraf_controller application directory, which includes the
   # SQLite database if using SQLite
   rm -rf ~/Library/Application\ Support/telegraf_controller

   # Remove the plist file if you installed Telegraf Controller as a LaunchDaemon
   sudo rm /Library/LaunchDaemons/com.influxdata.telegraf-controller.plist
   ```

3. If using PostgreSQL, **delete the `telegraf_controller` database** from your
   PostgreSQL instance:

   ```
   DROP DATABASE telegraf_controller;
   ```

## Windows

To fully uninstall Telegraf Controller from Windows:

1. **Stop Telegraf Controller**:

   * If running the application in place, stop the `telegraf_controller` process.

   * If you installed Telegraf Controller as a service, stop and remove the
     service:

     ```
     nssm stop TelegrafController
     nssm remove TelegrafController confirm
     ```

2. **Remove all files associated with Telegraf Controller**:

   ```
   # Remove the telegraf_controller executable and other related files,
   # including the SQLite database if using SQLite
   Remove-Item -Path "$env:LOCALAPPDATA\telegraf_controller" -Recurse
   Remove-Item -Path "C:\Program Files\TelegrafController" -Recurse
   ```

3. If using PostgreSQL, **delete the `telegraf_controller` database** from your
   PostgreSQL instance:

   ```
   DROP DATABASE telegraf_controller;
   ```
