ast-grep ast-grep
ast babel codemod codereview command-line command-line-tool grep linter refactoring rust search static-analysis structural-search tree-sitter typescript
Use this command to install ast-grep:
winget install --id=ast-grep.ast-grep -e
A fast and polyglot tool for code searching, linting, rewriting at large scale.
ast-grep is a fast and polyglot tool designed for efficient code structural search, linting, and rewriting at scale. It enables developers to quickly locate, analyze, and modify code across thousands of files using syntax-aware patterns.