CLI reference

Node-managed installation, diagnostics, direct hooks, and Go review commands.

CLI reference

The Node manager installs and configures Doomer. The native Go doomer executable runs reviews and watches. For automatic reviews, start with Install Doomer and your first review.

After upload approval, Doomer receives source snapshots and review context. The CLI sends its running version and protocol metadata for compatibility notices. See uploads and privacy and the privacy policy.

Install and inspect

sh
npx @doomerlabs/doomer@beta install
npx @doomerlabs/doomer@beta doctor
doomer --version

Requires Node.js 22 or later and Git. Install in the environment that edits the checkout. See the supported agents and installer options. Use a comma-separated list to configure multiple agents or --no-hooks for standalone reviews.

The manager installs the native command at ~/.local/bin/doomer by default. If doomer is not found or selects another installation, add the directory containing doctor's returned executable to the front of PATH, or invoke that absolute path instead.

Doctor checks installation without uploading a support bundle. ready describes configuration; capabilities.watchAgentHook verifies the current direct-hook command. Native trust and a real review are still required to prove activation. Structured --json output includes issues, uploadApproved, and activation. Follow next for repair and use the returned executable path if PATH selects another command.

CLI-only installation

For manual reviews or private adversary publishing on macOS, install the Go CLI through Homebrew:

sh
brew install doomerlabs/tap/doomer
doomer --help

This does not install an agent skill or hooks. Use doomer review for manual reviews, or doomer adversary --help for authoring and publishing. Account-required operations use doomer login. For automatic agent reviews, use the Node setup above.

Manage the installation

For step-by-step installation checks, missing Claude hooks, updates, and removal, see Manage your installation.

CommandPurpose
doomer upgrade --checkCheck for a CLI update without changing the installation.
doomer upgradeUpdate only the CLI through its owner: Homebrew, Node, or the direct installer.
doomer statusInspect the local CLI installation.
doomer noticesRead current service advisories; add --json for structured output.
doomer support bundleSave diagnostics locally; uploading requires --upload.
npx @doomerlabs/doomer@beta onboardComplete setup after installing the skill directly; reuse an existing skill.
npx @doomerlabs/doomer@beta install-hooks --agent codexRepair the selected agent's generated hooks. You can also select claude, copilot, or antigravity.
npx @doomerlabs/doomer@beta refresh-hooks --jsonTry reloading hooks in a running local Codex server. Native trust remains user-managed.
npx @doomerlabs/doomer@beta updateUpdate the manager, Go CLI and skill, and repair configured hooks when requested.
npx @doomerlabs/doomer@beta revokeRevoke saved source-upload approval for the configured service.
npx @doomerlabs/doomer@beta uninstallRemove this installation's hooks, skill, CLI and local data; hosted reviews remain.

Updates are a user-requested management operation. The new workflow does not use managed tasks, portable task state, or per-task runtime upgrades.

Standalone Quick review

Use the installed Go CLI; the Node manager has no review command. Record git rev-parse HEAD before editing if you want a task-specific baseline:

sh
doomer review --base STARTING_COMMIT --deep-review=false --format json

Without --base, the CLI selects the local default-branch baseline. Use --path /absolute/path for a different repository and review each repository separately. Results can include edits made before the current task.

Resume pending results:

sh
doomer review get REVIEW_ID --workspace --format json

Quick readiness is early_assessment.status: ready (under data when using the JSON envelope), independent of aggregate status. Read the leads; no leads means no findings were returned, not that the source is proven correct. Do not report success after a timeout or upload denial.

Automatic review hooks

Prompt hooks start or reuse a filesystem watcher that reviews settled file changes. Stop hooks wait for current results and explicit finding responses confirmed by the service. Interrupt or session-end hooks clean up the corresponding watcher.

The manager writes the direct Go commands and preserves unrelated settings. Review and trust them in your agent. For Codex, setup reports codexReload.restartRequired; refresh-hooks --json reports top-level restartRequired. For Claude Code, start a fresh session if new hooks have not loaded. Verify a real review rather than relying on a saved hook file.

For GitHub Copilot CLI, start a fresh session after installing or repairing hooks. The Copilot setup guide describes Doctor checks and the command approvals you may see.

For Antigravity CLI, start a fresh agy session after installing or repairing hooks. Enter /hooks in the Antigravity terminal session to inspect and enable the Doomer hook group. See the Antigravity CLI setup guide.

Accounts and service configuration

Quick reviews can run without an account, but still require permission to upload source. Onboarding offers global approval across repositories and agents for the displayed service. Account-backed review links use the saved account when available.

sh
doomer login
doomer whoami
doomer logout

The global --profile NAME flag selects a credential profile before the command, for example doomer --profile work login --device. Keep the same profile and --api-url URL when recovering an existing account login.

For a remote or browser-less environment, use doomer login --device and complete the displayed instructions in a browser on another device.

The manager accepts --api-url URL; otherwise it uses DOOMER_API_URL, saved installation configuration, then the production service. To configure review routing per directory, see Advanced CLI configuration. Do not copy account tokens into repositories.

Service advisories

Hooks deliver relevant service advisories separately from code findings. The agent displays a pending advisory to you before acknowledging it. Reading a tool result alone does not count as delivery. Advisories do not authorize upgrades, shell commands, or changes to upload consent. Use doomer notices to read them yourself.

The older doomer-review managed workflow is separate and pinned to its compatible CLI. Its prepare, task, and bootstrap/update-policy commands are not part of this onboarding path. Existing installation instructions remain at /install.md.