Install the CLI
npm install -g @decibeltrade/cli
yarn global add @decibeltrade/cli
pnpm add -g @decibeltrade/cli
Requires Node.js 22 or later.
Run without installing
You can also run the CLI directly with npx without a global install:
npx -y @decibeltrade/cli markets ls
Verify installation
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
help [command] display help for command
Next steps
Set up your accounts and environment variables in Configuration.