Skip to content

Installation

Install Wagmi CLI via your package manager.

Package Manager

Install the required package.

bash
pnpm add @wagmi/cli
bash
npm install @wagmi/cli
bash
yarn add @wagmi/cli
bash
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
bash
npm install @wagmi/cli@canary
bash
yarn add @wagmi/cli@canary
bash
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

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).

Finally, pull requests are continuously released via pkg.pr.new and can be installed using the pull request number or short commit ID.

bash
pnpm add https://pkg.pr.new/@wagmi/cli@123
bash
npm install https://pkg.pr.new/@wagmi/cli@123
bash
yarn add https://pkg.pr.new/@wagmi/cli@123
bash
bun add https://pkg.pr.new/@wagmi/cli@123

Released under the MIT License.