mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 13:37:30 +00:00
Update the uninstall documentation for fleetd by providing detailed steps for macOS, Windows, and Linux. --------- Co-authored-by: Graham Williams <gray@live.co.uk> Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
2.9 KiB
2.9 KiB
How to uninstall Fleet's agent (fleetd)
You can uninstall fleetd directly on a device or remotely through Fleet.
Uninstall fleetd on macOS
To remove fleetd from a Mac:
- Download the macOS uninstall script.
- Open the Terminal app.
- Navigate to where you saved the script:
cd /path/to/your/script - Make the script executable:
chmod +x uninstall-fleetd-macos.sh - Run the script:
sudo ./uninstall-fleetd-macos.sh
Uninstall fleetd on Windows
To remove fleetd from a Windows device:
- Download the Windows uninstall script.
- Open PowerShell as administrator (right-click and select Run as administrator).
- Navigate to where you saved the script:
cd C:\path\to\your\script - Run the script:
.\uninstall-fleetd-windows.ps1
Note: When running unsigned PowerShell scripts, you are likely to receive a warning, and will need to adjust the Execution Policy. One example is:
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process. This will bypass all warnings and prompts for the current PowerShell session.
Uninstall fleetd on Linux
To remove fleetd from a Linux device:
- Download the Linux uninstall script.
- Open your terminal.
- Navigate to where you saved the script:
cd /path/to/your/script - Make the script executable:
chmod +x uninstall-fleetd-linux.sh - Run the script:
sudo ./uninstall-fleetd-linux.sh
Uninstall fleetd remotely
To remove fleetd from a device through Fleet:
- Add the uninstall script for macOS, Windows, or Linux to Fleet as a script.
- Go to the device's Host details page.
- Select Actions > Run script and choose the uninstall script.
After uninstalling, the device will show as offline in Fleet until you delete it.
Need help? Contact us through one of our support channels.