
ast-grep
ast-grepCode searchBy ast-grep ↗
GitHub repository: Within freshness window. Last successful check . Freshness policy ↗
Search and rewrite code using syntax-aware patterns.
For your agent
Find code structures through an AST-based command-line interface.
Source-list workflow marking: Not marked in source list (source list)
Agent capability details have not yet been reviewed. Check the official documentation ↗
Example command
ast-grep --helpRun after following the project’s setup instructions. Local files, credentials, or a connected service may be required.
What it does
- AST search
- Structural patterns
- Code rewriting
Homebrew installs
ast-grep ↗Explicitly requested installation events
- 30 days
- 12,635
- 90 days
- 29,147
- 365 days
- 88,556
From Homebrew installations that report analytics. Includes package variants; counts are not unique users.
Homebrew: Within freshness window. Last successful check . Freshness policy ↗
Checked . Source dated . How installs are counted ↗
npm downloads
@ast-grep/cli ↗- 30 days
- 7,345,674
- 90 days
- 15,781,643
- 365 days
- 32,559,890
Package downloads, including automated and dependency downloads. Counts cover the mapped CLI package, excluding separate platform packages.
Downloads are not unique users or confirmed installations. Sources can overlap and should not be added together.
Latest refresh unavailable. Showing the last saved counts.
Checked . Periods end . How downloads are counted ↗
GitHub activity: Within freshness window. Last successful check . Freshness policy ↗
Repository activity
Commits per week · GitHub snapshot
Tap, hover, or use the arrow keys to inspect weekly commits. Weekly totals can extend beyond the selected dates; the latest week may be incomplete. All time includes up to 52 recorded weeks. Hourly data is unavailable.
Commands and capabilities are described from the project documentation. Repository statistics cover ast-grep/ast-grep, which may contain more than the CLI. Listing a tool does not mean every command has been tested with every agent.


