Bulwark|Docs

CLI Reference

The Bulwark CLI provides commands for authentication, installation, and hook management.

Commands

CommandDescription
bulwark loginAuthenticate with your Bulwark account
bulwark logoutRemove stored credentials
bulwark installRegister Bulwark as a Claude Code hook
bulwark uninstallRemove Bulwark hooks from Claude Code

Global Flags

These flags work with all commands:

FlagDescription
--help, -hShow help for a command
--version, -vShow version number

Exit Codes

CodeMeaning
0Success / Allow action
1Error
2Deny action

Environment Variables

VariableDescription
BULWARK_API_URLOverride the API endpoint (for development)

Configuration

Bulwark stores configuration in:

  • macOS: ~/.config/bulwark/
  • Linux: ~/.config/bulwark/
  • Windows: %APPDATA%\bulwark\

Credentials are stored securely in your system keychain.