Skip to content

Installation

Install Wagmi CLI via your package manager.

Package Manager

Install the required package.

bash
pnpm add @wagmi/cli
pnpm add @wagmi/cli
bash
npm install @wagmi/cli
npm install @wagmi/cli
bash
yarn add @wagmi/cli
yarn add @wagmi/cli
bash
bun add @wagmi/cli
bun add @wagmi/cli

Using Unreleased Commits

If you can't wait for a new release to test the latest features, you can either install from the canary tag (tracks the main branch).

bash
pnpm add @wagmi/cli@canary
pnpm add @wagmi/cli@canary
bash
npm install @wagmi/cli@canary
npm install @wagmi/cli@canary
bash
yarn add @wagmi/cli@canary
yarn add @wagmi/cli@canary
bash
bun add @wagmi/cli@canary
bun add @wagmi/cli@canary

Or clone the Wagmi repo to your local machine, build, and link it yourself.

bash
git clone https://github.com/wevm/wagmi.git
cd wagmi
pnpm install
pnpm build
cd packages/cli
pnpm link --global
git clone https://github.com/wevm/wagmi.git
cd wagmi
pnpm install
pnpm build
cd packages/cli
pnpm link --global

Then go to the project where you are using the Wagmi CLI and run pnpm link --global @wagmi/cli (or the package manager that you used to link Wagmi CLI globally).

Released under the MIT License.