# 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)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cybrhawksoc.gitbook.io/cybrhawk-docs/endpoint-agent/installation-guides/mac-installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
