Skip to main content
This page applies only if you use an IDE other than Claude Code’s remote plugin, or if you run the local Claude Code plugin. Claude Code with the remote plugin is the recommended path and does not require a local Semgrep CLI. Prefer the Quickstart unless you specifically need a local CLI integration.
1
Install the Semgrep CLI using pipx, uv, or Homebrew. This requires Python 3.10 or later — the Semgrep CLI needs Python at runtime regardless of how you installed the CLI:
NOTEpipx and uv are the preferred installation methods. The Homebrew formula is maintained on a best-effort basis and often lags behind the latest release.Homebrew users: ensure that you’ve added Homebrew to your PATH.
2
Verify that you’ve installed the latest version of Semgrep:
3
Sign in to your Semgrep account and install the Semgrep Pro Engine:
semgrep login launches a browser window. You can also use the activation link printed in the terminal.

Next steps

Return to Choose your setup and pick your coding agent to finish configuring Guardian.