# Installation

## From crates.io (recommended)

```bash
cargo install bee-check
```

Requires a recent Rust toolchain (1.76+). The binary lands in
`~/.cargo/bin/bee-check`.

## Prebuilt binaries

Releases include prebuilt binaries for:

- Linux x86_64, aarch64
- macOS x86_64, aarch64
- Windows x86_64

Grab them from
[`github.com/ethswarm-tools/bee-check/releases`](https://github.com/ethswarm-tools/bee-check/releases),
or use the installer scripts shown on each release page.

## From source

```bash
git clone https://github.com/ethswarm-tools/bee-check
cd bee-check
cargo build --release
./target/release/bee-check --help
```

## Verifying the install

```bash
bee-check --version
bee-check --help
```

## Default Bee URL

If you don't pass `--bee`, `bee-check` uses `$BEE_API_URL` (if set)
or falls back to `http://localhost:1633`. Setting `BEE_API_URL` once
in your shell rc file is the easiest way to skip typing `--bee
http://...` every time.
