CLI for interacting with Jupiter's products on Solana: Spot, Perps, Lend, Prediction Markets and more.
CLI for interacting with Jupiter's products on Solana: Spot, Perps, Lend, Prediction Markets and more.
CLI for interacting with Jupiter's products on Solana: Spot, Perps, Lend, Prediction Markets, Token Verification and more.
[!WARNING] This project is pre-v1 (early alpha) and should be considered unstable. Breaking changes may be introduced without warning. Please reach out to the team if you'd like to use or contribute to the CLI.
Install via npm:
npm i -g @jup-ag/cliOr use the install script to auto-detect the best method:
curl -fsSL https://raw.githubusercontent.com/jup-ag/cli/main/scripts/install.sh | bash…[!NOTE] This CLI is designed to be LLM friendly and all commands are non-interactive. Set JSON output mode globally for structured responses:
jup config set --output json, or use-f jsonflag on individual commands.Use
--dry-runon any transacting command to preview the result without signing or submitting on-chain. In JSON mode, the response includes the unsigned base64transaction, which can be signed with thesigncommand.
Read the docs for specific guides, examples, and workflows:
--dry-runSee CHANGELOG.md for a detailed release history.
perps open should validate leverage is within reasonable bounds
Duplicate parseTimestamp() logic across commands
Missing null check for token metadata in spot portfolio
keys list crashes if any keypair file is corrupted
Missing upper bound validation for --limit in spot history