Zerion CLI
CLI for Zerion Wallet. Analyze wallets, sign, swap, and bridge on-chain with agent-managed wallets across EVM chains and Solana, all from the command line. Wallet management is built on the Open Wallet Standard.
[!NOTE]
Alpha Preview — This CLI is under active development. Commands, flags, and output formats may change or be removed without notice between releases. Do not depend on current behavior in production workflows.
Installation
Set up everything in one command (install CLI globally, configure your API key, and add skills to your coding agents):
npx zerion-cli@latest init
- authenticates in the browser via dashboard.zerion.io and saves the key for you — no copy/paste
- detects your coding agent (Claude Code, Cursor, Codex, Gemini) and installs the Zerion skills globally
- add
-y to skip the prompts: browser login, then every skill installed
On a remote or headless host, add --no-open to print the authorize URL instead of opening a browser. Without a terminal (CI, piped), init prints API-key instructions rather than waiting on a browser login — set ZERION_API_KEY there instead.
Or just install the CLI without setup:
npm install -g zerion-cli
The CLI is available as either zerion or zerion-cli — both run the same binary.
Requires Node.js 22.12+ (or 20.19+ on Node 20). Older versions exit with an unsupported_node error.
Agent skill
One skill, zerion, under ./skills/zerion/ — follows the agentskills.io open standard. All capabilities and partner integrations live as nested files that load on demand (progressive disclosure), so a single install + single picker entry exposes everything below.
Capabilities (skills/zerion/capabilities/)
| File | What it covers |
|---|
analyze.md | Portfolio, positions, history, PnL, token search, watchlist (read-only; supports x402 / MPP) |
trading.md | Swap, bridge, send tokens (on-chain actions; needs API key + agent token) — plus the signing-route model: local signing vs. web-app handoff for human review |
bundle.md | Queue several actions into one signing session / one human review (--prepare + bundle) |
sign.md | Off-chain signing — sign-message (EIP-191 / raw), sign-typed-data (EIP-712) |
wallet.md | Wallet management — create, import, add read-only, list, fund, review threshold, backup, export-key, delete, sync |
agent-management.md | Agent tokens + policies (the autonomous-trading primitives) |
swap-0x.md | Token swaps via 0x API v2 — AllowanceHolder, Permit2, and Gasless flows across 20+ EVM chains |
defi-exit.md | Exit DeFi positions — withdraw, unstake, redeem, claim, repay — then convert the proceeds through swap / bridge |
Partner integrations (skills/zerion/partners/)
Ecosystem partners that combine their product with the Zerion CLI. See partner-skill-creator.md to contribute one. Loaded only when the user names the partner.