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

# CLI

> Local developer commands for ArcPay Somnia.

ArcPay ships a local CLI:

```bash theme={null}
npm run arcpay -- help
```

For external developers, the CLI package is published on npm:

```bash theme={null}
npm install -g @arcpaylabs/somnia-cli
arcpay-somnia contracts
```

## Common Commands

```bash theme={null}
npm run arcpay -- contracts
npm run arcpay -- wallet
npm run arcpay -- agent-id research-agent
npm run arcpay -- invoice-id inv_001
npm run arcpay -- claim-hash claim-research-agent-001
npm run arcpay -- privacy-commit "invoice-secret"
npm run arcpay -- privacy-guide
npm run arcpay -- invoice-guide
npm run arcpay -- x402-guide
npm run arcpay -- defi-adapters
npm run arcpay -- demo-path
npm run arcpay -- smoke
npm run arcpay -- mcp-config
```

The CLI helps builders derive contract IDs, print deployment addresses, configure MCP, and run repeatable proof flows.
