1.5 KiB
1.5 KiB
Installation
Install Wagmi CLI via your package manager.
Package Manager
Install the required package.
::: code-group
pnpm add @wagmi/cli
npm install @wagmi/cli
yarn 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).
::: code-group
pnpm add @wagmi/cli@canary
npm install @wagmi/cli@canary
yarn add @wagmi/cli@canary
bun add @wagmi/cli@canary
:::
Or clone the Wagmi repo to your local machine, build, and link it yourself.
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.
::: code-group
pnpm add https://pkg.pr.new/@wagmi/cli@123
npm install https://pkg.pr.new/@wagmi/cli@123
yarn add https://pkg.pr.new/@wagmi/cli@123
bun add https://pkg.pr.new/@wagmi/cli@123
:::