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

# Installation

> Install the Brickken CLI from npm and verify your setup.

## Prerequisites

* **Node.js** 18 or newer (the CLI is distributed as an npm package).
* **`jq`** (optional but recommended) — the examples in these docs use it to read fields such as `agentUuid` and `tokenAddress` out of `--json` output.

## Install from npm

The CLI is published as [`brickken-cli`](https://www.npmjs.com/package/brickken-cli). Install it globally to get the `brickken` command:

```bash npm theme={null}
npm install -g brickken-cli
```

```bash pnpm theme={null}
pnpm add -g brickken-cli
```

```bash yarn theme={null}
yarn global add brickken-cli
```

## Verify the installation

```bash theme={null}
brickken --version
brickken --help
```

`brickken --version` prints the installed package version. `brickken --help` lists the global options and command groups.

## Build from source

To build a local checkout instead of installing from npm:

```bash theme={null}
git clone https://github.com/Brickken/brickken-api-cli.git
cd brickken-api-cli
pnpm install
pnpm build
node dist/index.js --help
```

## Next step

> [card] [Authentication](https://docs.brickken.com/cli/authentication.md)
>
> Set up your private key, RPC URL, and target environment before running commands.


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