# Installation

Anubis requires Python **3.10 or later**.

## pipx recommended

[pipx](https://pipx.pypa.io/) installs Anubis in an isolated environment and makes the `anubis` command available globally.

```bash
# Install directly from GitHub
pipx install git+https://github.com/GRodolphe/Anubis.git

# Or from a local clone
git clone https://github.com/GRodolphe/Anubis && cd Anubis
pipx install .
```

## uv project venv

```bash
git clone https://github.com/GRodolphe/Anubis && cd Anubis
uv sync
uv run anubis --help
```

## pip

```bash
pip install git+https://github.com/GRodolphe/Anubis.git
```

## Verify

```bash
anubis --version
```

## Optional: ancrypt (AES encryption)

The `--encrypt` flag requires the `ancrypt` native extension. Build it once from the repo root:

```bash
uv run --group dev python setup.py build_ext --inplace
# → ancrypt.cpython-*.so  (Linux/macOS)
# → ancrypt.cpython-*.pyd (Windows)
```

Ship `ancrypt.*.so` / `ancrypt.*.pyd` alongside the obfuscated file it is imported at runtime to decrypt and execute the source.

## Optional: Nuitka (exe compilation)

The `--compile` flag calls [Nuitka](https://nuitka.net/) to produce a standalone executable. Install it separately:

```bash
pip install nuitka
```

A C compiler is also required (GCC on Linux/macOS, MinGW64 on Windows).


---

# 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://rodolphes-organization.gitbook.io/anubis/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.
