> ## Documentation Index
> Fetch the complete documentation index at: https://support.telivy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Uninstall the Telivy Agent on macOS

> Remove the Telivy agent from a Mac with the recommended uninstall command or the force uninstall script, run in Terminal or from your RMM or MDM.

The uninstall commands are on the assessment's **Setup** tab under **Optional Steps > Remove
Telivy**. Select **macOS** under **Removal Instructions**, then **Copy Uninstall Command** next to
the option you need. Run it in Terminal on the Mac or from your RMM or MDM. Tools that
already run scripts as root do not need the `sudo` prefix. The data from the
Mac's latest scan stays in the portal and in any report you generate.

![Setup tab of a risk assessment on Optional Steps → Remove Telivy with macOS selected, showing the recommended and force uninstall commands with Copy Uninstall Command buttons](https://mintcdn.com/telivy-0f6c7022/2gk8GzJRpZKyB-yB/images/uninstall-telivy-agent-macos/uninstall-telivy-agent-macos-1.png?fit=max\&auto=format\&n=2gk8GzJRpZKyB-yB\&q=85\&s=24542d7dbef69b9f6a41b54b5472df1b)

## Recommended uninstall

```bash theme={null}
sudo /Applications/Telivy.Scanner.Mac.app/Contents/MacOS/Telivy.Scanner.Mac --IsUninstallMode=true
```

## Force uninstall

Use this when the recommended command fails or the app is damaged. The script unloads the
`com.cytracom.telivy.agent` background service, deletes its launch daemon, the
`/Applications/Telivy.Scanner.Mac.app` app and the
`/Users/Shared/Library/Application Support/Telivy` data folder, and removes the package
receipt. You can read it at
[install.telivy.com/Installer/force-uninstall.sh](https://install.telivy.com/Installer/force-uninstall.sh)
before you run it.

```bash theme={null}
sudo /bin/bash -c "curl -fsSL 'https://install.telivy.com/Installer/force-uninstall.sh' | bash"
```

## Agentless scans

The agentless scanner installs nothing. Eject the disk image and delete the downloaded file.

## Related guides

> [card] [Install on macOS](https://support.telivy.com/products/risk-assessments/install-telivy-agent-macos.md)
>
> Reinstall the agent or run the agentless scanner

> [card] [Uninstallation FAQ](https://support.telivy.com/frequently-asked-questions/uninstallation.md)
>
> Archived assessments and devices that keep the agent


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.