Terminal
Terminal/Skill
Set up the Semgrep plugin by installing Semgrep, authenticating, and verifying compatibility
By Semgrep
Works with
npx skills add semgrep/cursor-plugin --skill setup-semgrep-pluginFollow these steps to set up the Semgrep plugin:
Check if Semgrep is installed, and install it if not:
which semgrep || brew install semgrep
Log in to Semgrep (this will open a browser window):
semgrep login --force
Install the Pro engine for enhanced scanning capabilities:
semgrep install-semgrep-pro || true
Confirm everything is working:
semgrep --pro --version
Verify your Semgrep version is >= 1.146.0:
semgrep --version
If your version is older than 1.146.0, please update:
brew upgrade semgrep