Skip to content

create-wagmi

Overview

create-wagmi is a command line interface (CLI) for scaffolding new Wagmi projects.

Usage

bash
pnpm create wagmi
pnpm create wagmi
bash
npm init wagmi
npm init wagmi
bash
yarn create wagmi
yarn create wagmi
bash
bun create wagmi
bun create wagmi

Options

-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 next
pnpm create wagmi --template next
bash
npm init wagmi --template next
npm init wagmi --template next
bash
yarn create wagmi --template next
yarn create wagmi --template next
bash
bun create wagmi --template next
bun 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.

Released under the MIT License.