Easily bootstrap your RainbowKit-based project with a single command!
Supports Bun and Yarn for dependency management. 🚀
- Clone a pre-configured RainbowKit template repository.
- Choose between Pages Router or App Router during setup.
- Installs dependencies with Bun (preferred) or Yarn automatically.
- Automatically configures Web3 providers based on your router choice.
- Provides clear next steps for starting your development server.
The CLI now supports both Next.js routing approaches:
- Pages Router: Traditional Next.js routing with
_app.tsxfor providers - App Router: Modern Next.js routing with
layout.tsxand client components
During setup, you'll be prompted to choose your preferred router type. The template will be automatically configured with the appropriate file structure and provider setup.
You can use this CLI tool with bun, npx, or other package managers:
bun create rainbow-app@latest <project-name>npx create-rainbow-app@latest <project-name>yarn create rainbow-app <project-name>This package is also available on GitHub Packages:
# Configure npm to use GitHub Packages for the @patel96 scope
npm config set @patel96:registry https://npm.pkg.github.com
# Install using npx
npx @patel96/create-rainbow-app <project-name>If you want to install the package globally:
npm install -g create-rainbow-appnpm install -g @patel96/create-rainbow-appThis project is licensed under the MIT License - see the LICENSE file for details.