Installation

You don’t need to install @sei-js/create-sei globally. Use it directly with npx or pnpm:
npx @sei-js/create-sei app

Interactive Setup

The CLI provides an interactive wizard to guide you through project setup:
1

Run the CLI

Execute the create-sei command with your project name:
npx @sei-js/create-sei app -n my-sei-app
2

Choose Framework

Select your preferred frontend framework:
  • Next.js - Full-stack React framework with SSR/SSG
  • Vite - Fast build tool with React
3

Project Setup

The CLI automatically configures:
  • TypeScript configuration
  • Tailwind CSS styling
  • ESLint configuration
  • Prettier formatting
  • Git initialization

Manual CLI Usage

Skip the interactive setup by specifying all options directly:
npx @sei-js/create-sei app -n my-app -f next

CLI Options

FlagLong FormDescriptionOptions
-n--nameProject name (must be valid package name)Any valid npm package name
-f--frameworkFrontend frameworkvite, next
Template Combinations: The CLI creates different project templates based on your flag combinations. See all available combinations on the Templates page.

What Happens Next

After running the CLI, you’ll have a fully configured Sei dApp ready for development:
  • Project Structure Created - Organized file structure with components, hooks, and utilities properly scaffolded for your chosen framework and ecosystem.
  • Wallet Integration Ready - Pre-configured wallet connections and connection hooks ready to use.
  • Development Tools Configured - TypeScript, ESLint, Prettier, and Tailwind CSS automatically configured with sensible defaults and ready for immediate development.
  • Sei Network Integration - Built-in Sei network configuration and contract interaction examples to help you start building on Sei right away.