ast-grep
⚡A CLI tool for code structural search, lint and rewriting. Written in Rust
- codemod
- linter
- ast
- babel
- command-line
- command-line-tool
- grep
- tree-sitter
- codereview
- rust
- static-analysis
- typescript
- refactoring
- search
- structural-search
- Stars
- 16,688
- Forks
- 509
- + today
- +1
- Created
- 4y
Ranking data as of November 24, 2026 (UTC).
Star History
Today, hour by hour
01
Overview
⚡A CLI tool for code structural search, lint and rewriting. Written in Rust It ranks #1098 on GitTiger, gaining +1 star on November 24, 2026 (UTC).
The project is written in Rust and has 509 forks. It was created 4y ago.
Installation
git clone https://github.com/ast-grep/ast-grep.git
cd ast-grep
# see README for setup