# Installation

Installing ainx can be as simple as a single command, you will however need some basic dependencies:

* NodeJS (16+)
* Yarn

{% hint style="danger" %}
Ainx is not recommended for use on panels that use blueprint, as files may overlap and break.
{% endhint %}

### With Dependencies

To install ainx when you already have the above mentioned dependencies, you can run the following command:

```sh
npm install -g ainx@latest
```

### Without Dependencies

If you do not have the dependencies, you can run the `install-ainx.sh` that's available from the CDN:

```sh
bash <(curl -s https://ainx.dev/install-ainx.sh)
```

### Verify Installation

To verify that ainx has been properly installed, simply run `ainx info`. The output should look similar to this:

```
ainx info

        Version:     ainx@1.12.2
        Node:        20.17.0
        Yarn:        1.22.22

        PHP:         8.1.30 (48 modules)
        CPU Threads: 4
        Memory:      12GB (4GB recommended)
        Platform:    linux (x64), 6.8.12-1-pve
```


---

# 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://rjns.gitbook.io/ainx/getting-started/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.
