Manage your Doomer installation

Install, check, and repair agent hooks, update, and uninstall with npx.

Manage your Doomer installation

Use npx @doomerlabs/doomer@beta to install, check, repair, update, or remove Doomer. Run these commands on the machine where your coding agent edits files. Each machine and user needs its own setup; installing on your laptop does not configure Claude Code on a remote machine.

Requires Node.js 22 or later, npm, and Git on macOS or Linux. The manager installs the doomer command that runs reviews and the hooks that start them automatically.

Claude is installed, but Doomer never runs

Having the Doomer skill or CLI does not mean Claude's hooks are installed. Check the installation, then add or repair Claude's hooks:

sh
npx @doomerlabs/doomer@beta doctor
npx @doomerlabs/doomer@beta install-hooks --agent claude

Open /hooks in Claude Code to inspect and trust the Doomer entries. Start a new Claude session if the current session has not loaded them, then ask for a small coding change and confirm that a review completes.

Hook repair does not grant source-upload permission. If doctor reports missing CLI or skill setup, or missing upload approval, complete onboarding:

sh
npx @doomerlabs/doomer@beta onboard --agent claude

Review the upload-consent prompt. Onboarding also offers separate permission for Claude to run Doomer's review commands; inspect the proposed rules before deciding. A configured hook file alone does not prove that automatic reviews are active.

Install or add an agent

For a fresh installation, choose the agent you use:

sh
npx @doomerlabs/doomer@beta install --agent claude

See the supported agents and installer options. Use a comma-separated list such as --agent claude,codex,copilot,antigravity to configure multiple agents. Installation includes the CLI, global skill, and selected agents' hooks. You do not need to run install-hooks separately after successful setup.

If you installed the skill directly, use onboard to finish installing the CLI and hooks. To add another agent to an existing installation, run onboard --agent with that agent. For example:

sh
npx @doomerlabs/doomer@beta onboard --agent codex

For an intentional fresh setup without automatic hooks, use install --no-hooks. This does not remove hooks from an existing installation.

Check what is installed

sh
npx @doomerlabs/doomer@beta doctor
npx @doomerlabs/doomer@beta doctor --json

Doctor checks the CLI, skill, and configured agents' hooks and suggests the next repair. Read the agent list as well as the overall status: a setup configured only for Codex does not configure Claude automatically.

ready: true and capabilities.watchAgentHook: true confirm installed configuration and command support. Native hook trust, upload approval, and successful execution in your running agent are separate. Verify a real review after setup or repair. If your shell cannot find doomer, follow doctor's PATH guidance or use the reported absolute executable path.

Repair or reload hooks

What you needCommand
Add or repair Claude Code hooksnpx @doomerlabs/doomer@beta install-hooks --agent claude
Add or repair Codex hooksnpx @doomerlabs/doomer@beta install-hooks --agent codex
Add or repair GitHub Copilot CLI hooksnpx @doomerlabs/doomer@beta install-hooks --agent copilot
Add or repair Antigravity CLI hooksnpx @doomerlabs/doomer@beta install-hooks --agent antigravity
Repair Claude and Codex hooksnpx @doomerlabs/doomer@beta install-hooks --agent claude,codex
Ask a running local Codex server to reload hooksnpx @doomerlabs/doomer@beta refresh-hooks --json

Repair preserves unrelated settings and hooks. It does not override disabled hooks or grant native trust. Follow doctor's settings-file guidance when hooks are disabled or settings are invalid.

refresh-hooks is for Codex. If its output says restartRequired: true, start a new Codex session. For Claude Code, inspect /hooks and start a new session when newly installed hooks have not loaded. See the Claude setup and Codex setup guides.

For GitHub Copilot CLI, start a fresh session after repair and see the Copilot setup guide for command and path approvals.

For Antigravity CLI, start a fresh agy session after repair. Enter /hooks inside the Antigravity terminal session to see whether the Doomer hook group is loaded and enabled. See the Antigravity CLI setup guide.

Update Doomer

sh
npx @doomerlabs/doomer@beta update

This updates the manager, skill, and native CLI and runs setup for the configured agents. Review any separate permission proposals, follow reload or restart instructions, and verify a real review afterwards.

To inspect or update only the native CLI:

sh
npx @doomerlabs/doomer@beta upgrade --check --json
npx @doomerlabs/doomer@beta upgrade

upgrade leaves skill installation and agent selection unchanged; it does not rewrite hooks or grant upload permission.

Doomer currently ships through the npm beta channel. Use npx @doomerlabs/doomer@beta install --agent claude for setup. The npm package version and installed native CLI version are separate. Use doctor to inspect your installation.

Turn off uploads or uninstall

sh
npx @doomerlabs/doomer@beta revoke

revoke removes saved upload approval for the configured service. It keeps the installation, but future reviews cannot upload under that revoked approval. To approve again, run onboard and review the consent prompt.

To remove the installation:

sh
npx @doomerlabs/doomer@beta uninstall

Uninstall removes this installation's managed hooks, CLI, skill, and local installation data, including credentials. It preserves unrelated agent settings, recovery backups, and hosted reviews. Other installation profiles can retain shared components they still use.

For failures, follow Troubleshooting. For review commands and service configuration, see the CLI reference.