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
golden gate ✅
tahoe ✅
sequoia ✅
sonoma ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 0.45.3
head ⚡️ HEAD

Depends on when building from source:

rust 1.98.1 Safe, concurrent, practical language

Binaries: ast-grep, sg

Analytics:

30 days90 days365 days
Installs5,59227,73078,171
Installs (--HEAD)833112
Installs on Request5,58027,66977,938
Installs on Request (--HEAD)833112
Build Errors2