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

Select Ecosystem

Choose your blockchain integration:

  • EVM - Ethereum-compatible development (recommended)
  • Cosmos - Native Cosmos SDK (deprecated per SIP-3)
4

Pick Library (EVM only)

For EVM ecosystem, choose your wallet library:

  • Wagmi - Type-safe React hooks for Ethereum
  • Ethers.js - Traditional Ethereum library
5

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 -e evm -l wagmi

CLI Options

FlagLong FormDescriptionOptions
-n--nameProject name (must be valid package name)Any valid npm package name
-f--frameworkFrontend frameworkvite, next
-e--ecosystemBlockchain ecosystemevm, cosmos
-l--libraryEVM library (EVM ecosystem only)wagmi

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 for your chosen ecosystem (Wagmi/Ethers.js for EVM, CosmJS for Cosmos) with 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.