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

# Installation - Omni CLI

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

## Prerequisites

* A supported OS:
  * macOS (amd64, arm64)
  * Linux (amd64, arm64)
  * Windows (amd64)
* A terminal with permission to install binaries on your `PATH`

## Homebrew (macOS, Linux) (preferred)

If you use Homebrew, install the CLI with:

```bash theme={null}
brew tap exploreomni/tap
brew install omni
```

## Install script (macOS, Linux)

Run the following to download the latest release, verify the SHA-256 checksum, and install the `omni` binary to `/usr/local/bin` (or `~/.local/bin` if `/usr/local/bin` is not writable):

```bash theme={null}
curl -fsSL https://raw.githubusercontent.com/exploreomni/cli/main/install.sh | sh
```

## GitHub releases (macOS, Linux, Windows)

Pre-built binaries for macOS, Linux, and Windows are available in the CLI repository on the [Releases page](https://github.com/exploreomni/cli/releases). Download the archive for your platform, extract it, and place the `omni` binary somewhere on your `PATH`.

| Platform | Architectures |
| - | - |
| macOS | amd64, arm64 |
| Linux | amd64, arm64 |
| Windows | amd64 |

## Build from source

```bash theme={null}
git clone https://github.com/exploreomni/cli.git
cd cli
make build
```

The binary is written to `./bin/omni`.

## Staying up to date

In an interactive terminal, the CLI checks for a newer release in the background and prints a notice after a command succeeds. Builds from source aren't checked, because they aren't tagged releases. Check explicitly with:

```bash theme={null}
omni update check
```

Upgrade the same way you installed: `brew update && brew upgrade omni`, re-running the install script, or downloading the new archive from the [Releases page](https://github.com/exploreomni/cli/releases). See [update notices](https://docs.omni.co/developers/cli/commands/utility.md#update-notices) for how the automatic check behaves and how to turn it off.

## Troubleshooting

### `omni: command not found`

The binary is likely installed outside your current `PATH`.

* If installed to `~/.local/bin`, add it to your shell profile.
* Restart your terminal, then run `omni --help`.

### Permission denied when installing

If you do not have write access to `/usr/local/bin`, use the install script. It automatically falls back to `~/.local/bin`.

### Homebrew cannot find `omni`

Re-run the tap command, then install again:

```bash theme={null}
brew tap exploreomni/tap
brew install omni
```

## Next steps

* Follow the [CLI quickstart](https://docs.omni.co/developers/cli/quickstart.md) to configure your profile and authenticate with OAuth or an API token
* Use the [commands reference](https://docs.omni.co/developers/cli/commands.md) to explore available commands
