# Install anc

`anc` is the reference linter for the agent-native CLI standard. It scores any CLI against the eight principles and
tells you, by audit ID, where it passes and where it falls short. Install it locally, then point it at a binary or a
project directory.

## Homebrew

```bash
brew install brettdavies/tap/agentnative
```

The tap publishes prebuilt bottles for Apple Silicon Macs (macOS 14 Sonoma and 15 Sequoia) and x86_64 Linux, with SHA256
integrity hashes recorded in the formula. Intel Mac and arm64 Linux users compile from source via the same formula. To
update in place:

```bash
brew upgrade brettdavies/tap/agentnative
```

## Cargo

```bash
cargo install agentnative
```

For a prebuilt binary without compiling from source (requires
[`cargo-binstall`](https://github.com/cargo-bins/cargo-binstall); skip if you don't already have it):

```bash
cargo binstall agentnative
```

## GitHub Releases

Platform archives, including Windows builds and SHA256 checksums, live at
[github.com/brettdavies/agentnative-cli/releases](https://github.com/brettdavies/agentnative-cli/releases). Download the
archive for your platform, extract, and put the `anc` binary on `$PATH`.

## What's next

Once installed, invoke the CLI as `anc`. See [/audit](https://anc.dev/audit) for usage: flags, output shapes, and how to interpret the
per-principle audit IDs. The principles themselves are spelled out at [/](https://anc.dev/), with one page per principle (`/p1` through
`/p8`).

To install the **agent-native-cli skill bundle** instead (the Claude Code / Codex / Cursor / OpenCode skill that teaches
an agent to write CLIs against this standard), see [/skill](https://anc.dev/skill).
