create-wagmi
Overview
create-wagmi is a command line interface (CLI) for scaffolding new Wagmi projects.
Usage
bash
pnpm create wagmipnpm create wagmibash
npm init wagminpm init wagmibash
yarn create wagmiyarn create wagmibash
bun create wagmibun create wagmiOptions
-t, --template
By default, create-wagmi scaffolds a basic Vite application with Wagmi. However, you can specify a custom template by passing the --template/-t flag:
bash
pnpm create wagmi --template nextpnpm create wagmi --template nextbash
npm init wagmi --template nextnpm init wagmi --template nextbash
yarn create wagmi --template nextyarn create wagmi --template nextbash
bun create wagmi --template nextbun create wagmi --template next--bun/--npm/--pnpm/--yarn
Use a specific package manager to install dependencies. By default, create-wagmi will use the package manager you used to run the command.
-h, --help
Prints the help message.
-v, --version
Prints the CLI version.
Templates
create-wagmi currently comes with the following templates:
next: A Next.js Wagmi project.vite-react(default): A Vite (React) Wagmi project.vite-vanilla: A Vite Wagmi Core project.