Skip to main content

Claude Code

Install NebGuard for Claude Code. First check the shared prerequisites: the nebguard binary on your PATH, and Claude Code already installed.

1. Install the plugin

NebGuard ships as a Claude Code plugin from the public nebinfra/claude-plugins marketplace:

claude plugin install nebguard@nebinfra

This registers the plugin so Claude Code knows to call NebGuard at the right points in the agent lifecycle.

2. Run setup

nebguard setup claude-code

This is the one command that wires NebGuard into Claude Code. In order, it checks for a newer release (auto-update is off by default, so a normal run uses the binary you already have), registers the plugin marketplace and installs the plugin wrapper and hooks, places the binary where Claude Code expects it, and writes a starter rule-override file on the first run. After it completes, NebGuard is active for every Claude Code session on this machine.

3. Verify

nebguard version

A printed version string means the binary is installed. Claude Code trusts plugin hooks when the plugin is installed, so there is no separate trust step.

Uninstall

nebguard uninstall

This removes the hooks and the binary that setup installed and restores your original Claude Code settings.

Next steps

  • Codex CLI: set up another assistant.
  • Concepts: the safety model, domains, licensing, and telemetry.
  • Examples: what a block and a guidance note look like.