ast-grep

Install command:
brew install ast-grep

Code searching, linting, rewriting

https://ast-grep.github.io/

License: MIT

Development: Pull requests

Formula JSON API: /api/formula/ast-grep.json

Formula code: ast-grep.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
tahoe
sequoia
sonoma
macOS on
Intel
sonoma
Linux ARM64
x86_64

Current versions:

stable 0.44.1
head ⚡️ HEAD

Depends on when building from source:

rust 1.96.1 Safe, concurrent, practical language

Analytics:

Installs (30 days)
ast-grep 11,041
ast-grep --HEAD 11
Installs on Request (30 days)
ast-grep 11,021
ast-grep --HEAD 11
Build Errors (30 days)
ast-grep 3
Installs (90 days)
ast-grep 26,621
ast-grep --HEAD 30
Installs on Request (90 days)
ast-grep 26,558
ast-grep --HEAD 30
Installs (365 days)
ast-grep 61,708
ast-grep --HEAD 97
Installs on Request (365 days)
ast-grep 61,525
ast-grep --HEAD 97