Skip to content

Latest commit

 

History

History
71 lines (49 loc) · 1.02 KB

File metadata and controls

71 lines (49 loc) · 1.02 KB
title Installation
description How to install clawpatch from npm or source

Installation

npm/pnpm

pnpm add -g clawpatch

Or with npm:

npm install -g clawpatch

Verify:

clawpatch --version

From source

Clone and build:

git clone https://github.com/openclaw/clawpatch.git
cd clawpatch
pnpm install
pnpm build
pnpm link --global

Verify:

clawpatch --version
clawpatch doctor

Provider setup

clawpatch requires an AI provider for code review. The default is the local Codex CLI.

Codex CLI

Install the Codex CLI so codex --version works locally. If available in your environment:

brew install codex

Verify:

codex --version
clawpatch doctor

clawpatch doctor checks that the configured provider is available and can execute test queries.

Next steps