@phantom/cli) lets you interact with your Phantom embedded wallet directly from the terminal. It supports:
- Wallet management — check balances, get addresses, and rebalance portfolios
- Solana and EVM — sign messages, send transactions, swap tokens across chains
- Hyperliquid perpetuals — open positions, manage orders, deposit and withdraw
- MCP server mode — run as an AI agent tool server exposing all wallet operations as MCP tools
Installation
Install the CLI, authenticate, and run your first command.
Commands
Full reference for all CLI commands and flags.