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

# Installation

> Install the Decibel CLI globally

## Install the CLI

```bash npm theme={null}
npm install -g @decibeltrade/cli
```

```bash yarn theme={null}
yarn global add @decibeltrade/cli
```

```bash pnpm theme={null}
pnpm add -g @decibeltrade/cli
```

> [!NOTE]
>
> Requires Node.js 22 or later.

## Run without installing

You can also run the CLI directly with `npx` without a global install:

```bash theme={null}
npx -y --package @decibeltrade/cli decibel-cli markets ls
```

> [!NOTE]
>
> `--package` is required. The package publishes two binaries (`decibel-cli` and `decibel-mcp`), and neither matches the package name, so `npx @decibeltrade/cli` cannot infer which to run and fails with `could not determine executable to run`.

## Verify installation

```bash theme={null}
decibel-cli --version
decibel-cli --help
```

You should see the version number and a list of available commands:

```
Usage: decibel-cli [options] [command]

Command-line interface for trading on Decibel DEX

Options:
  -V, --version          output the version number
  --network <network>    Network to use (mainnet, testnet, local)
  -h, --help             display help for command

Commands:
  account                Manage trading accounts
  markets                View market information
  trade                  Trading commands
  spot                   Spot trading commands
  help [command]         display help for command
```

## Next steps

Set up your accounts and environment variables in [Configuration](https://docs.decibel.trade/cli/configuration.md).


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