Solana CLI Tools

Automate Solana CLI setup, wallet management, program deployment, token/NFT workflows across devnet and mainnet.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/2Rds/block-drive-vault --skill solana-cli-tools
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Solana CLI Tools
Source: https://github.com/2Rds/block-drive-vault/tree/main/plugins/blockdrive-solana/skills/solana-cli-tools
Command: npx skills add https://github.com/2Rds/block-drive-vault --skill solana-cli-tools

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill consolidates the setup and daily use of the Solana CLI toolchain for developers, eliminating scattered steps and enabling consistent workflows for wallet management, program deployment, and token operations.

Core Features & Use Cases

  • Installation & Configuration: Install and configure Solana CLI, SPL Token CLI, Anchor, and Metaplex tools for devnet and mainnet workflows.
  • Program Deployment & Management: Build, deploy, upgrade, and interact with Solana programs and manage token minting and accounts.
  • NFT & Asset Workflows: Use Metaplex and Sugar tools to create, upload, and deploy NFT assets and collections for testing and production.
  • Use Case: A developer sets up a new project, deploys a program to devnet, creates a token mint, and mints an NFT to validate the workflow.

Quick Start

Install Solana CLI: sh -c "$(curl -sSfL https://release.solana.com/stable/install)" solana --version

Configure networks: solana config set --url devnet solana config set --url mainnet-beta

Create and set a wallet: solana-keygen new --outfile ~/.config/solana/devnet-wallet.json solana config set --keypair ~/.config/solana/devnet-wallet.json

Example workflow: anchor build anchor deploy --provider.cluster devnet

Frequently Asked Questions about Solana CLI Tools

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a Solana program to devnet using Anchor?

To deploy a Solana program to devnet using Anchor, configure your CLI to the devnet URL, build your program with anchor build, and execute anchor deploy using the devnet provider cluster.

What is the best way to manage Solana keypairs for devnet and mainnet?

Managing Solana keypairs involves generating new wallets with solana-keygen and setting them in your CLI configuration, allowing you to easily switch between distinct devnet and mainnet keypair files.

Do I need to install Metaplex Sugar to mint NFTs on Solana?

Yes, installing Metaplex Sugar is required to create, upload, and deploy NFT assets and collections on Solana, streamlining your asset workflows for both testing and production environments.

Can I use the SPL Token CLI to create a token mint on Solana?

Yes, you can use the SPL Token CLI to create a token mint on Solana, enabling you to manage token minting operations and associated token accounts across devnet and mainnet.

How to configure the Solana CLI for mainnet-beta workflows?

To configure the Solana CLI for mainnet-beta workflows, execute the command solana config set --url mainnet-beta to point your local toolchain to the mainnet network.

What dependencies are required to run Solana CLI workflows?

Running Solana CLI workflows requires access to the Solana CLI suite, the SPL Token CLI, Anchor, and Metaplex tools to successfully execute program deployments and token operations.