> For the complete documentation index, see [llms.txt](https://helpcenter.gitprotect.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpcenter.gitprotect.io/deployment-and-configuration/gitprotect-worker/local-worker/installation-on-linux-and-macos.md).

# Installation on Linux & MacOS

{% tabs %}
{% tab title="Linux" %}

<p align="center"><a href="#prerequisites" class="button primary" data-icon="circle-1">Prerequisites</a> <a href="#agent_setup" class="button primary" data-icon="circle-2">Installation</a></p>

#### Prerequisites

Prior to **worker** installation, check if your system is meets all the requirements.

{% content-ref url="/pages/xK9JJWFmkVYCqBknYEoP" %}
[System requirements](/gitprotect-software/software-information/system-requirements.md)
{% endcontent-ref %}

{% content-ref url="/pages/srQ5F6tnpeA8r4mpbgA8" %}
[Supported platforms](/gitprotect-software/software-information/supported-platforms.md)
{% endcontent-ref %}

***

#### Installation <a href="#agent_setup" id="agent_setup"></a>

1. Download the **worker** installer (bash script) to your **Linux** system and grant execute permission to the file owner (user or group) using the following `chmod` command:

{% hint style="info" %}
To download the worker installer, login to **GitProtect Management Service** using a web browser, then go to **Settings** > **Advanced** > **Workers** and click **Download agent** button. The **Download agent** window will open — click the appropriate worker version to download it.
{% endhint %}

```bash
chmod +x xoperoclient.sh
```

<figure><img src="/files/S4bWOUDLFrYgU2ucgrlW" alt="Granting permission for installer"><figcaption></figcaption></figure>

2. Next, run the script using the following command:

```bash
./xoperoclient.sh or bash xoperoclient.sh
```

<figure><img src="/files/Iulz1nYSMcfoWsemvXcE" alt="Running the installer"><figcaption><p><em>Running the script along with <strong><code>sudo</code></strong> command</em></p></figcaption></figure>

{% hint style="warning" %}
The above script should be initiated using an account with administrative privileges— because of that it might be required to use the **`sudo`** command simultaneously (as in the above example).
{% endhint %}

3. Accept the **END-USER LICENSE AGREEMENT** to proceed.

<figure><img src="/files/OeSPrfRBKiauZPSfJR0N" alt="End-user agreement"><figcaption></figcaption></figure>

4. Next, enter the IP address in the **Address** field (including the protocol and port) and click **OK** to finish the installation. Your address can be found in **GitProtect Management Service** — the system will display it once you start downloading the **worker** installer.

<figure><img src="/files/CZWspR4Zzv22IyZ9dgeo" alt=""><figcaption></figcaption></figure>

5. Now that **GitProtect** **worker** is installed, you can activate it in the **GitProtect Management Service** web panel and start protecting your data.
   {% endtab %}

{% tab title="MacOS" %}

#### Installation <a href="#installation-mac" id="installation-mac"></a>

1. Download **GitProtect** **worker** installation wizard and run it.

{% hint style="info" %}
To download the worker installer, login to **GitProtect Management Service** using a web browser, then go to **Settings** > **Advanced** > **Workers** and click **Download agent** button. The **Download agent** window will open — click the appropriate worker version to download it.
{% endhint %}

2. Click **Continue** to proceed.

<figure><img src="/files/t7BEhOmRu1rLlNDsPBLl" alt=""><figcaption></figcaption></figure>

3. Select **Continue** in the **Read Me** section.

<figure><img src="/files/t9klc7kjJjXI5RP3l6Qs" alt=""><figcaption></figcaption></figure>

4. Read the **END-USER LICENSE AGREEMENT** and hit **Continue** to accept it.

<figure><img src="/files/D5U253mN2NKsWg2SmKWL" alt=""><figcaption></figcaption></figure>

5. Hit **Agree** to accept the terms of the software license agreement.

<figure><img src="/files/an3egmRNJoJ0fgIYgRrG" alt=""><figcaption></figcaption></figure>

6. Change the installation directory if needed and click **Install** to begin the installation.

<figure><img src="/files/YwAUJxSg106zwKsAmyUh" alt=""><figcaption></figcaption></figure>

7. During the installation process, the creator will ask you for the address of your **Management Service** — define it in this step. Your address can be found in **GitProtect Management Service**; the system will display it once you start downloading the **worker** installer.

<figure><img src="/files/qrwbQyWpe121sNvLcM0X" alt=""><figcaption></figcaption></figure>

8. Click **OK** to confirm your configuration.
9. The **GitProtect** worker has been successfully installed — you can close the installation wizard.

<figure><img src="/files/obUwv0vl5naFo4y2e5a4" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}
