Overview
Command options allow you to configure your dApp project without interactive prompts. Options can be combined to fully automate project creation.Option Types
Configuration Options
Options that determine your project’s blockchain and wallet setup.Chain Selection
evm- Ethereum and EVM-compatible chains (Polygon, Base, Arbitrum, etc.)solana- Solana blockchain
evm (when using --yes)
Examples:
Wallet Provider
rainbowkit- Best UX for connecting wallets (recommended)connectkit- Beautiful, customizable wallet connection UIprivy- Email, social, and wallet login with embedded walletsdynamic- Multi-chain auth with embedded wallets and onrampsreown- WalletConnect’s official SDK (formerly Web3Modal)thirdweb- Full-stack web3 development platformgetpara- Embedded wallets with MPC key management
wallet-adapter- Standard Solana wallet connection (recommended)privy- Email, social, and wallet logindynamic- Multi-chain auth with embedded walletsreown- WalletConnect’s official SDKthirdweb- Full-stack web3 development platform
Automation Options
Options that control prompts and automate setup steps.Skip Prompts
- Project name: “my-dapp”
- Chain: “evm”
- Wallet: First available for chain (rainbowkit for EVM, wallet-adapter for Solana)
- Git: Not initialized
- Install: Dependencies not installed
--yes mode, the command exits with an error instead of prompting when:
- Project directory has conflicting files
- Wallet provider doesn’t support selected chain
Initialize Git
false (Git not initialized)
What it does:
- Runs
git init - Creates initial commit with all scaffolded files
- Sets up
.gitignorefor Next.js projects
Install Dependencies
false (dependencies not installed)
Behavior: Uses the detected or specified package manager to install all dependencies
Examples:
Package Manager Options
Options to specify which package manager to use.Use npm
Use Yarn
Use pnpm
Use Bun
Utility Options
Options for help and version information.Show Help
- Command syntax
- All available options
- Wallet provider list with descriptions
- Usage examples
Show Version
create-nextjs-dapp v0.1.0
Exit code: 0
Source: src/cli/args.ts:23-26
Option Combinations
Fully Automated Setup
Create a complete project without any prompts:Solana with Dynamic
Quick Testing
Create a test project with defaults:CI/CD Pipeline
Non-interactive setup suitable for automation:Interactive Examples
Partial Configuration
You can specify some options and be prompted for others:Package Manager Detection
If you don’t specify--use-*, the command detects your package manager:
Error Handling
Invalid Chain
Invalid Wallet
Incompatible Wallet and Chain
Missing Option Value
Unknown Option
Related
create command
Main command documentation
Flags Reference
Complete flags reference table