Install command:
brew install semgrep

Easily detect and prevent bugs and anti-patterns in your codebase

License: LGPL-2.1-only

/api/formula/semgrep.json (JSON API)

/api/bottle/semgrep.json (Bottle JSON API)

Formula code on GitHub

Bottle (binary package) installation support provided for macOS releases:

Intel big sur
64-bit linux
Apple Silicon big sur

Current versions:

stable 0.66.0
head ⚡️ HEAD

Depends on:

pcre 8.45 Perl compatible regular expressions library
python@3.9 3.9.7 Interpreted, interactive, object-oriented programming language
tree-sitter 0.20.0 Parser generator tool and incremental parsing library

Depends on when building from source:

cmake 3.21.3 Cross-platform make
coreutils 9.0 GNU File, Shell, and Text utilities
dune 2.9.1 Composable build system for OCaml
ocaml 4.12.0 General purpose programming language in the ML family
opam 2.1.0 OCaml package manager
pkg-config 0.29.2 Manage compile and link flags for libraries


Installs (30 days)
semgrep 2,591
Installs on Request (30 days)
semgrep 2,592
Build Errors (30 days)
semgrep 0
Installs (90 days)
semgrep 7,167
semgrep --HEAD 1
Installs on Request (90 days)
semgrep 7,166
semgrep --HEAD 1
Installs (365 days)
semgrep 20,735
semgrep --HEAD 8
Installs on Request (365 days)
semgrep 20,730
semgrep --HEAD 8
Fork me on GitHub