Skip to content

guardrails tools

List, install or locate the external tools Guardrails runs

Synopsis

Manage the linters, formatters and scanners the language modules run.

Each tool is pinned in tools.yaml and checksum-locked per platform. A tool on your PATH is used first (unless tools.prefer is managed); otherwise guardrails installs the pinned version into its data dir on first use, so the host needs nothing but the plugin.

guardrails tools [flags]

Examples

  guardrails tools list
  guardrails tools install            # everything, e.g. in CI or a Dockerfile
  guardrails tools install ruff shellcheck
  guardrails tools path golangci-lint

Options

  -h, --help   help for tools

Options inherited from parent commands

      --config string     config file for all your repos (default ~/.config/guardrails/config.yaml)
      --data-dir string   where guardrails keeps state (default $CLAUDE_PLUGIN_DATA, else ~/.local/share/guardrails)

SEE ALSO