Installation
Install Wagmi CLI via your package manager.
Package Manager
Install the required package.
bash
pnpm add @wagmi/clibash
npm install @wagmi/clibash
yarn add @wagmi/clibash
bun add @wagmi/cliUsing 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@canarybash
npm install @wagmi/cli@canarybash
yarn add @wagmi/cli@canarybash
bun add @wagmi/cli@canaryOr 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 --globalThen 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).