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

Depends on when building from source:

rust 1.94.1 Safe, concurrent, practical language

Analytics:

Installs (30 days)
ast-grep 6,299
ast-grep --HEAD 10
Installs on Request (30 days)
ast-grep 6,271
ast-grep --HEAD 10
Build Errors (30 days)
ast-grep 0
Installs (90 days)
ast-grep 15,923
ast-grep --HEAD 24
Installs on Request (90 days)
ast-grep 15,857
ast-grep --HEAD 24
Installs (365 days)
ast-grep 41,304
ast-grep --HEAD 76
Installs on Request (365 days)
ast-grep 41,180
ast-grep --HEAD 76