> For the complete documentation index, see [llms.txt](https://cybrhawksoc.gitbook.io/cybrhawk-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cybrhawksoc.gitbook.io/cybrhawk-docs/endpoint-agent/installation-guides/mac-installation.md).

# Mac Agent

> **Note:**\
> Please check [Prerequisites and System Requirements](/cybrhawk-docs/endpoint-agent/prerequisites.md) before proceeding.

***

## Installation Steps

1. [Log in to the Customer Portal](https://portal.cybrhawk.com/deployment/endpoint-agent) and select your tenant from the dropdown menu.\
   Your **Activation Code** will be displayed.
2. Choose **MacOS** from the available platforms, then click **Generate Download Link**.

   ![Generate Download Link](/files/l3bgv0MLIg0igkV882UN)
3. Once the link is generated, either:

   * Click **Click Here to Download** to download the installer, or
   * Copy one of the **Install Scripts** from the panel that appears.

   ![Install Scripts](/files/OSEeZ8ZYvml2AZ3QOJac)
4. Transfer the installer to your Mac (if downloaded), or run the script directly.\
   To install manually, open Terminal and run:

```
chmod +x ./TD_Endpoint_MacOS_Intel.run
sudo ./TD_Endpoint_MacOS_Intel.run install --activation_code ***your Activation Code***
```

5. The installer should complete and provide output to your terminal.

<figure><img src="/files/6Gu9v5N14eV8R88nNuKA" alt=""><figcaption></figcaption></figure>

### Uninstall

Open your terminal and run the command: `sudo /opt/TDAgent/tdcli/tdcli.bin uninstall`

![Mac install uninstall](/files/nXxFsTr0PtEbiaiYTkPh)
