Install Coven
Install Coven through npm or source, verify the daemon, and choose the right platform path for macOS, Linux, Windows, and WSL2.
Install Coven
Use this page when you need a working coven command, a verified daemon, and at least one harness CLI ready to launch sessions.
Choose An Install Path
| Path | Status | Use when | Verify with |
|---|---|---|---|
npm wrapper @opencoven/cli | Supported | You want the fastest public install on a published platform package. | npx @opencoven/cli doctor or coven doctor |
| Cargo/source build | Supported for contributors | You are modifying Coven or your platform is not covered by the npm wrapper. | cargo run -p coven-cli -- doctor |
| macOS Apple Silicon | Supported through npm | You are on darwin-arm64. | coven doctor |
| Linux x64 glibc | Supported through npm | You are on a glibc-based linux-x64 distribution. | coven doctor |
| Windows x64 | Supported through npm | You are using native Windows and keep Coven plus harness CLIs in the same Windows environment. | coven doctor in PowerShell or Windows Terminal |
| WSL2 | Recommended for Unix-socket parity on Windows | You want Linux daemon/socket behavior from a Windows machine. | coven doctor inside WSL2 |
| Docker or Podman | Planned / experimental | Containerized daemon work is still design/testing work. | Do not treat as supported yet. |
| Nix | Planned / experimental | A flake or derivation has not been verified in this repo. | Do not treat as supported yet. |
The npm wrapper currently resolves native packages for darwin-arm64, linux-x64, and win32-x64. Before making version-specific release claims, check npm:
npm view @opencoven/cli version dist-tags
npm view @opencoven/cli-macos version dist-tags
npm view @opencoven/cli-linux-x64 version dist-tags
npm view @opencoven/cli-windows version dist-tagsInstall With npm
For one-off use:
npx @opencoven/cli doctor
pnpm dlx @opencoven/cli doctorFor repeated local use:
npm install -g @opencoven/cli
coven doctorCovenCLI is the user-facing command surface, and the shell command is always coven. The wrapper downloads the matching native package when npm can resolve one for your OS/CPU pair. If npm reports a missing optional dependency, reinstall @opencoven/cli from the same environment where you plan to run Coven.
Build From Source
Use this path when contributing to Coven, testing unreleased behavior, or running on an unsupported npm platform.
git clone https://github.com/OpenCoven/coven.git
cd coven
cargo build --workspace
cargo run -p coven-cli -- doctorTo install the Rust binary onto your Cargo bin path:
cargo install --path crates/coven-cli
coven doctorMake sure Cargo's bin directory is on PATH:
echo "$PATH" | tr ':' '\n' | grep "$HOME/.cargo/bin"Platform Notes
macOS
- Published npm support targets Apple Silicon (
darwin-arm64). - Install Node.js 18+ if you use the npm wrapper.
- Install Rust stable if you build from source or need an unsupported macOS architecture.
- Keep
~/.covenowned by your user. The daemon socket lives at~/.coven/coven.sockby default. coven pcdiagnostics are macOS-first; write operations require--confirm.
npx @opencoven/cli doctor
coven daemon start
coven run codex "summarize this repo"Linux
- Published npm support targets glibc-based x64 Linux (
linux-x64). - Alpine/musl is not supported by the published npm wrapper today.
- Install build tools, Git, Node.js 18+, and Rust stable when building from source.
- Keep
COVEN_HOMEon a local filesystem owned by the same user that runs Coven.
npx @opencoven/cli doctor
coven daemon start
coven sessions --plainWindows
- Published npm support targets native Windows x64 (
win32-x64). - Run Coven and harness CLIs from the same environment. A harness installed only inside WSL2 is not visible to native PowerShell.
- Keep
COVEN_HOMEon a local path owned by your Windows user. - If native Windows daemon/socket behavior is not enough for your integration, use the WSL2 path.
npx @opencoven/cli doctor
coven daemon start
coven run codex "inspect this project"WSL2
WSL2 is the safest Windows path when you want Unix-socket behavior to match macOS/Linux.
- Install Node.js 18+, Git, and any harness CLIs inside the same WSL2 distro.
- Keep the project and
COVEN_HOMEon the WSL filesystem, not a mounted Windows path, when possible. - Run
coven doctor,coven daemon start, and harness commands inside WSL2.
npx @opencoven/cli doctor
coven daemon start
coven run claude "review the current diff"Harness Prerequisites
Coven launches provider-owned CLIs. It does not store provider credentials.
| Harness | Install | Auth / readiness | Coven harness id |
|---|---|---|---|
| Codex | npm install -g @openai/codex | codex login | codex |
| Claude Code | npm install -g @anthropic-ai/claude-code | claude doctor | claude |
After installing or authenticating a harness, open a new terminal if your package manager changed PATH, then run:
coven doctorSmoke Test
From a project directory:
coven doctor
coven daemon start
coven run codex "summarize the project structure" --title "Install smoke"
coven sessionsFor scripts:
coven sessions --jsonIf the daemon is stale or the socket cannot be reached:
coven daemon restart
coven daemon statusUpdate And Uninstall
Update npm installs:
npm install -g @opencoven/cli@latest
coven doctorRemove a global npm install:
npm uninstall -g @opencoven/cliRemove local Coven state only when you intentionally want to delete local session history:
rm -rf ~/.covenDo not delete ~/.coven as a routine update step.
Last updated on