lili-solana-cli
v0.0.9
Published
Production-ready CLI tool for Solana developers - Build, Deploy, and Manage Solana programs
Downloads
28
Maintainers
Keywords
Readme
lili-cli
lili is end user friendly and convenient solana CLI
Build, deploy, and manage Solana programs with ease.
Quick Start
Install
npm install -g lili-solana-cliThis automatically installs all Solana dependencies and Rust. No additional setup required.
Run
liliNavigate through interactive menus to create projects, manage tokens, deploy programs, and more.
What's Included
- Program Templates – Pull curated Anchor and Rust starters directly from GitHub
- Frontend Scaffolds – React and Next.js blueprints with Solana wallet adapter wiring
- Backend Templates – Express.js APIs preconfigured for Solana RPC connections
- NFT Management – Create, manage, and deploy NFTs using Metaplex helpers
- DAO Launch Kit – Governance-ready starter synced from
reposlayer/lili-dao-launch-kit - Token Tools – Create and manage SPL tokens with guided flows
- Token-Gated Site – Launch a membership portal powered by
reposlayer/lili-token-gated-site - Raffle DApp – Clone an Anchor raffle with automated setup from GitHub
- Wallet Commands – Manage accounts, airdrop SOL, check balances
- Program Management – Deploy, upgrade, and test Solana programs
Main Commands
lili create # Generate new projects (frontend, backend, programs, fullstack)
lili nft # NFT creation and management
lili token # SPL token operations
lili wallet # Wallet operations (check balance, airdrop, etc.)
lili program # Deploy and manage Solana programs
lili templates # Sync GitHub/backed template catalog and local cache
lili doctor # Diagnose and auto-fix Solana/Rust environment issuesHow It Works
Lili provides an interactive, menu-driven experience. Simply run:
liliThen navigate through intuitive menus to perform any action. No CLI flags or command-line arguments needed.
Requirements
- Node.js 18.0.0 or higher
- npm 8.0.0 or higher
Everything else (Solana CLI, Rust toolchain, dependencies) is installed automatically during setup.
Configuration
All configuration is done through the interactive menu. There are no command-line flags to memorize.
Template Catalog
lili templatesopens a management console for syncing GitHub-hosted starters.- Use Sync Catalog to copy entries from
templates/manifest.jsoninto~/.lili-cli/templates. - Featured Picks clones curated repositories so you can bootstrap in one click.
Current featured GitHub templates:
token-gated-site→reposlayer/lili-token-gated-siteraffle-dapp→reposlayer/lili-raffle-dappdao-launch-kit→reposlayer/lili-dao-launch-kitanchor-program-starter→reposlayer/lili-anchor-program-starteranchor-fullstack-starter→reposlayer/lili-anchor-fullstack-startersolana-coinflip→reposlayer/lili-solana-coinflipnft-launchpad→reposlayer/lili-nft-launchpadfullstack-starter→solana-labs/dapp-scaffold
Lili Doctor
lili doctorperforms automated health checks for Node.js, Git, Solana CLI, Rust, andcargo-build-sbf.- Missing components trigger auto-install routines when possible or print actionable instructions.
- Diagnostics are persisted to
~/.lili-cli/doctor-history.jsonfor auditing and support.
Troubleshooting
Installation issues
Make sure you have Node.js 18+ installed:
node --versionAll Solana dependencies and Rust are installed automatically. If installation fails, check your internet connection and try again.
Can't find lili command
Try reinstalling globally:
npm install -g lili-solana-cliContributing
Contributions welcome! Please submit issues and pull requests on GitHub.
- NPM Package: https://www.npmjs.com/package/lili-solana-cli
- Solana Docs: https://docs.solana.com
- Web3.js Docs: https://solana-labs.github.io/solana-web3.js
Support
If you find this useful, please star the repo on GitHub!
# Questions or issues?
https://github.com/reposlayer/lili-cli/issues
https://x.com/liliOS___Have fun people!
