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

# CLI quickstart

> Set up the UniFi CLI and start in minutes.

## Prerequisites

* Rust and Cargo
* AWS CLI installed and authenticated
* access to an AWS KMS secp256k1 signing key
* this repository checkout

**1. Build the CLI**

From the repository root:

```bash theme={null}
cargo build --release --manifest-path cli/Cargo.toml
```

**2. Inspect help**

```bash theme={null}
./target/release/unifi --help
```

**3. Connect the wallet**

```bash theme={null}
./target/release/unifi connect --wallet alias/my-wallet
```

The CLI requests a single-use wallet challenge, signs it with AWS KMS, and stores the resulting session locally.

**4. Verify configuration and balance**

```bash theme={null}
./target/release/unifi config get
./target/release/unifi balance
```

> [!WARNING]
>
> Use an AWS profile and KMS key with the minimum permissions required. Never
> paste cloud credentials into the CLI arguments.


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