npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@jup-ag/cli

v0.10.0

Published

CLI for interacting with Jupiter's products on Solana: Spot, Perps, Lend, Prediction Markets, Token Verification and more.

Readme

Jupiter CLI

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

Install via npm:

npm i -g @jup-ag/cli

Or use the install script to auto-detect the best method:

curl -fsSL https://raw.githubusercontent.com/jup-ag/cli/main/scripts/install.sh | bash

Quick Start

# Generate a new private key called 'key1'
jup keys add key1
# Or import from a JSON file generated via `solana-keygen`
jup keys add key1 --file /path/to/solana-keygen.json
# Or import from a seed phrase
jup keys add key1 --seed-phrase "word1 word2 ..." --derivation-path "m/44'/501'/0'/0'" # optional, defaults to "m/44'/501'/0'/0'"
# Or import from a private key (accepts hex, base58, base64, or JSON byte array)
jup keys add key1 --private-key <key>

# Sign a base64 transaction returned from --dry-run
jup sign --tx <base64-transaction>

# View your spot portfolio
jup spot portfolio
# Swap 1 SOL to USDC
jup spot swap --from SOL --to USDC --amount 1
# Reclaim rent from empty token accounts
jup spot reclaim

# Open a 3x long SOL position with 10 USDC
jup perps open --asset SOL --side long --amount 10 --input USDC --leverage 3
# View your perps positions
jup perps positions

# View lending tokens and APY
jup lend earn tokens
# Deposit 100 USDC into lending
jup lend earn deposit --token USDC --amount 100
# View your lending positions
jup lend earn positions

# Browse prediction markets
jup predictions events --category crypto
# Open a prediction position with 10 USDC
jup predictions open --market <marketId> --side yes --amount 10
# View your prediction positions
jup predictions positions

# Check if a token is eligible for verification
jup vrfd check --token <mint-address>
# Submit a token verification request (costs 1000 JUP)
jup vrfd submit --token <mint-address> --project-twitter @projecthandle --description "DeFi protocol on Solana"

Docs

[!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 json flag on individual commands.

Use --dry-run on any transacting command to preview the result without signing or submitting on-chain. In JSON mode, the response includes the unsigned base64 transaction, which can be signed with the sign command.

Read the docs for specific guides, examples, and workflows:

  • Setup: Installation of the CLI
  • Update: Self-update the CLI
  • Config: CLI settings and configurations
  • Keys: Private key management
  • Sign: Sign transactions from --dry-run
  • Spot: Spot trading, transfers, token search and portfolio data
  • Perps: Perps trading (leveraged longs/shorts)
  • Lend: Lending and yield farming
  • Predictions: Prediction markets
  • Vrfd: Token verification

Changelog

See CHANGELOG.md for a detailed release history.