# Install

> Prebuilt binaries, package managers, and builds from source.

Install Open Max on macOS or Linux, on x86-64 or ARM64. Each method below installs the same `openmax` command.

## Install a prebuilt binary

```sh
curl -fsSL https://useopenmax.dev/install.sh | sh
```

The shell installer puts the binary in `~/.openmax/bin` and adds that directory to your shell profile. Open a new shell, or run `. ~/.openmax/bin/env`, then check the installation with `openmax --version`.

With Homebrew:

```sh
brew install Max17190/tap/openmax
```

With npm or Bun:

```sh
npm install -g openmax-cli
# or
bun install -g openmax-cli
```

The JavaScript package downloads the native binary through a launcher. The shell and Homebrew installs need no JavaScript runtime or Rust toolchain.

## Build from source

```sh
git clone https://github.com/Max17190/open-max.git
cd open-max
cargo install --path crates/tui --locked
```

See the [installation reference](https://github.com/Max17190/open-max/blob/main/docs/install.md) for the required Rust version, runtime compatibility, checksums, and custom install locations. Continue with [Getting started](https://useopenmax.dev/docs) to connect a model and start a session.
