> For the complete documentation index, see [llms.txt](https://codedthemes.gitbook.io/mantis/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://codedthemes.gitbook.io/mantis/apm.md).

# APM Installation Guide

#### Prerequisites

Before running the installation commands, ensure you have the following installed:

* **Node.js** (LTS version recommended)
* **Git**
* **PowerShell** (for Windows users) or **Terminal** (for Linux/Unix users)

#### 1. Environment Setup

1. Go to the Mantis directory you downloaded and navigate to full-version or seed
2. Download and initialize the APM executable on your system. This set up the core logic required to manage AI agent configurations and skills.

{% tabs %}
{% tab title="Windows" %}
Run the following command in your terminal:

```
npm run setup:apm:windows
```

{% endtab %}

{% tab title="Linux/macOs" %}
Run the following command in your terminal:

```
npm run setup:apm:linux
```

{% endtab %}
{% endtabs %}

#### Verification

You can verify the installation by running:

```
apm --version
```

#### 2. Package Installation

> **Note:** The authentication token is pre-configured within these scripts, so no manual PAT handling is required.

{% tabs %}
{% tab title="Windows" %}
Run the following command in your terminal:

```
npm run install:apm:windows
```

{% endtab %}

{% tab title="Linux/macOs" %}
Run the following command in your terminal:

```
npm run install:apm:linux
```

{% endtab %}
{% endtabs %}
