> ## Documentation Index
> Fetch the complete documentation index at: https://docs.plerion.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Installation

> Install the Plerion CLI on macOS, Linux, or Windows.

With the **[Plerion CLI](https://github.com/plerionhq/plerion-cli)**, you can interact with the Plerion platform from your terminal. Pre-built binaries are available for all major platforms.

***

## Install script (recommended)

The install script auto-detects your OS and architecture, downloads the latest release, and installs it in `/usr/local/bin` when writable or `~/.local/bin` otherwise:

```bash theme={"system"}
curl -fsSL https://raw.githubusercontent.com/plerionhq/plerion-cli/main/install.sh | sh
```

To install a specific version or to a custom directory:

```bash theme={"system"}
curl -fsSL https://raw.githubusercontent.com/plerionhq/plerion-cli/main/install.sh | \
  VERSION=v0.2.1 INSTALL_DIR="$HOME/.local/bin" sh
```

***

## From GitHub releases

Download the latest binary for your platform from [Releases](https://github.com/plerionhq/plerion-cli/releases):

| Platform | Binary |
| - | - |
| macOS (Apple Silicon) | `plerion-macos-arm64` |
| macOS (Intel) | `plerion-macos-x86_64` |
| Linux x86\_64 | `plerion-linux-x86_64` |
| Linux ARM64 | `plerion-linux-arm64` |
| Windows x64 | `plerion-windows-x86_64.exe` |

> [tab] macOS (Apple Silicon)
>
> ```bash theme={"system"}
> curl -L -o plerion https://github.com/plerionhq/plerion-cli/releases/latest/download/plerion-macos-arm64
> chmod +x plerion
> sudo mv plerion /usr/local/bin/
> ```
>
> > [!WARNING]
> >
> > macOS may block unsigned binaries downloaded outside the App Store. If you see a Gatekeeper warning, remove the quarantine attribute:
> >
> > ```bash theme={"system"}
> > xattr -d com.apple.quarantine /usr/local/bin/plerion
> > ```

> [tab] macOS (Intel)
>
> ```bash theme={"system"}
> curl -L -o plerion https://github.com/plerionhq/plerion-cli/releases/latest/download/plerion-macos-x86_64
> chmod +x plerion
> sudo mv plerion /usr/local/bin/
> ```
>
> > [!WARNING]
> >
> > macOS may block unsigned binaries downloaded outside the App Store. If you see a Gatekeeper warning, remove the quarantine attribute:
> >
> > ```bash theme={"system"}
> > xattr -d com.apple.quarantine /usr/local/bin/plerion
> > ```

> [tab] Linux x86\_64
>
> ```bash theme={"system"}
> curl -L -o plerion https://github.com/plerionhq/plerion-cli/releases/latest/download/plerion-linux-x86_64
> chmod +x plerion
> sudo mv plerion /usr/local/bin/
> ```

> [tab] Linux ARM64
>
> ```bash theme={"system"}
> curl -L -o plerion https://github.com/plerionhq/plerion-cli/releases/latest/download/plerion-linux-arm64
> chmod +x plerion
> sudo mv plerion /usr/local/bin/
> ```

> [tab] Windows
>
> Download `plerion-windows-x86_64.exe` from the [releases page](https://github.com/plerionhq/plerion-cli/releases) and add it to your `PATH`.

To upgrade, repeat the installation method you used and keep the same install directory. For a manual installation in `/usr/local/bin`, repeat the manual steps above. The install script can fall back to `~/.local/bin`, leaving an older copy first in `PATH`.

Locate the selected binary with `command -v plerion` on macOS/Linux or `Get-Command plerion` in PowerShell. Then check its version:

```bash theme={"system"}
plerion --version
```

***

## From source

Requires Rust 1.70+ and Cargo:

```bash theme={"system"}
git clone git@github.com:plerionhq/plerion-cli.git
cd plerion-cli
cargo build --release
cp target/release/plerion /usr/local/bin/
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.