# setup-semgrep-plugin

Set up the Semgrep plugin by installing Semgrep, authenticating, and verifying compatibility

Skill by Semgrep. Category: Security.

## Install

Project (for this project only):

```sh
npx skills add semgrep/cursor-plugin --skill setup-semgrep-plugin
```

Works with: Claude Code, Codex CLI, Cursor, Antigravity, Copilot CLI, opencode.

Global (for every project on this machine):

```sh
npx skills add semgrep/cursor-plugin --skill setup-semgrep-plugin -g
```

Works with: Claude Code, Codex CLI, Cursor, Antigravity, Copilot CLI, opencode.

## Tags

- Runs on your computer: It runs as a program on your machine, with your access.

## Security audits

- Gen Agent Trust Hub: Pass
- Socket: Pass
- Snyk: Pass

Installs: 6. Installs counted by skills.sh. [Open on skills.sh](https://www.skills.sh/semgrep/cursor-plugin/setup-semgrep-plugin)

## Source

[Open the source](https://github.com/semgrep/cursor-plugin/tree/HEAD/skills/setup-semgrep-plugin). Checked 2026-10-10. This summary may contain AI-generated text, so it can be wrong. Check the source before you rely on it.

## SKILL.md

````markdown
---
name: setup-semgrep-plugin
description: Set up the Semgrep plugin by installing Semgrep, authenticating, and verifying compatibility
---
# Setup Semgrep Plugin

Follow these steps to set up the Semgrep plugin:

## 1. Install Semgrep

Check if Semgrep is installed, and install it if not:

```bash
which semgrep || brew install semgrep
```

## 2. Authenticate with Semgrep

Log in to Semgrep (this will open a browser window):

```bash
semgrep login --force
```

## 3. Install Semgrep Pro Engine

Install the Pro engine for enhanced scanning capabilities:

```bash
semgrep install-semgrep-pro || true
```

## 4. Verify Installation

Confirm everything is working:

```bash
semgrep --pro --version
```

## 5. Check Version Compatibility

Verify your Semgrep version is >= 1.146.0:

```bash
semgrep --version
```

If your version is older than 1.146.0, please update:
```bash
brew upgrade semgrep
```
````

- Previous: [watch-for-changes](https://syn4pse.dev/terminal/tavily-watch-for-changes.md)
- Next: [developer-atlas](https://syn4pse.dev/terminal/tavily-developer-atlas.md)
- [Terminal](https://syn4pse.dev/terminal.md)
- [Suggest a change](mailto:terminal@syn4pse.dev?subject=Terminal%20suggestion)
