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.45.0
head ⚡️ HEAD

Depends on when building from source:

rust 1.97.1 Safe, concurrent, practical language

Analytics:

Installs (30 days)
ast-grep 11,192
ast-grep --HEAD 10
Installs on Request (30 days)
ast-grep 11,176
ast-grep --HEAD 10
Build Errors (30 days)
ast-grep 0
Installs (90 days)
ast-grep 29,914
ast-grep --HEAD 35
Installs on Request (90 days)
ast-grep 29,854
ast-grep --HEAD 35
Installs (365 days)
ast-grep 66,337
ast-grep --HEAD 100
Installs on Request (365 days)
ast-grep 66,147
ast-grep --HEAD 100