Bulwark|Docs

Installation

Get Bulwark running in under a minute.

Prerequisites

  • macOS, Linux, or Windows
  • Claude Code or Amp CLI installed
  • A Bulwark account (sign up at getbulwark.ai)

Install the CLI

macOS / Linux

curl -fsSL https://getbulwark.ai/install.sh | bash

Windows

Open PowerShell and run:

irm https://getbulwark.ai/install.ps1 | iex

The installer automatically adds Bulwark to your PATH. Restart your terminal after installation.

Verify Installation

Check that Bulwark is installed correctly:

bulwark --version

You should see output like:

bulwark version x.y.z

Authenticate

Connect your CLI to your Bulwark account:

bulwark login

This opens your browser for authentication. Once confirmed, your CLI is connected.

Note

Your credentials are stored securely in your system keychain. You only need to log in once per device.

Install Hooks

Register Bulwark as a hook provider for your coding tool:

# Auto-detect installed tools
bulwark install

# Or target a specific tool
bulwark install --claude
bulwark install --amp

By default, bulwark install auto-detects which coding tools are installed on your system and configures hooks for all of them. Use --claude or --amp to target a specific tool.

This adds Bulwark to your coding tool's configuration. All tool calls will now be routed through Bulwark.

Verify Setup

Start a Claude Code session and try a simple command. You should see Bulwark intercepting the tool call:

claude "list files in current directory"

If you don't have any policies yet, everything will be auto-approved. Next, let's create your first policy.

Next Steps

Continue to Quick Start to create your first policy and see Bulwark in action.