ast-grep

Install command:
brew install ast-grep

Code searching, linting, rewriting

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

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

Depends on when building from source:

rust 1.94.0 Safe, concurrent, practical language

Analytics:

Installs (30 days)
ast-grep 6,325
ast-grep --HEAD 8
Installs on Request (30 days)
ast-grep 6,303
ast-grep --HEAD 8
Build Errors (30 days)
ast-grep 1
Installs (90 days)
ast-grep 15,099
ast-grep --HEAD 23
Installs on Request (90 days)
ast-grep 15,032
ast-grep --HEAD 23
Installs (365 days)
ast-grep 37,580
ast-grep --HEAD 71
Installs on Request (365 days)
ast-grep 37,477
ast-grep --HEAD 71