npm · npm:@ast-grep/cli
@ast-grep/cli active
Search and Rewrite code at large scale using precise AST pattern
The latest stable version of @ast-grep/cli is 0.51.2, published on 2026-11-11. Verified by Vigia on 2026-11-12.
| Latest stable version | 0.51.2 |
|---|---|
| Published | 2026-11-11 05:23:22 UTC |
| Install | npm install @ast-grep/cli@latest |
| Requires (engines) | {"node":">= 12.0.0"} |
| Peer dependencies | — |
| Dist-tags | latest: 0.51.2 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 06:50:15 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Ask your AI assistant to check this
AI models are trained up to a date, so they can be wrong about versions, deprecations and vulnerabilities. Paste this into Claude, ChatGPT, Perplexity or Cursor and it will answer with the verified data on this page:
Before answering about the npm package "@ast-grep/cli", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/@ast-grep/cli . For my whole project use https://vigia.coredls.cloud/context
Using an AI coding agent every day? Connect Vigia once and it checks this by itself.
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-11-11 05:23:22 UTC · 1 days ago |
| Stable releases in the last 12 months | 23 |
| Published versions | 179 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
0.51.2 | 2026-11-11 05:23:22 UTC |
0.51.1 | 2026-11-02 13:33:38 UTC |
0.51.0 | 2026-10-15 15:18:04 UTC |
0.50.0 | 2026-10-09 14:29:31 UTC |
0.45.3 | 2026-08-31 02:32:31 UTC |
0.45.2 | 2026-08-23 19:57:11 UTC |
0.45.1 | 2026-08-07 15:23:42 UTC |
0.45.0 | 2026-07-23 16:14:12 UTC |
0.44.1 | 2026-07-04 14:15:33 UTC |
0.44.0 | 2026-06-22 01:57:20 UTC |
0.43.0 | 2026-05-25 20:19:54 UTC |
0.42.3 | 2026-05-19 15:27:14 UTC |
0.42.2 | 2026-05-10 22:04:31 UTC |
0.42.1 | 2026-04-04 16:10:24 UTC |
0.42.0 | 2026-03-16 03:34:47 UTC |
0.41.1 | 2026-03-10 14:12:18 UTC |
0.41.0 | 2026-02-22 19:05:03 UTC |
0.40.5 | 2026-01-10 18:07:26 UTC |
0.40.4 | 2026-01-05 01:28:36 UTC |
0.40.3 | 2025-12-15 15:45:46 UTC |
Showing the 20 most recent of 179 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 0.51.2 |
node 18 | 0.51.2 |
node 20 | 0.51.2 |
node 22 | 0.51.2 |
node 24 | 0.51.2 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of @ast-grep/cli?
The latest stable version of @ast-grep/cli is 0.51.2, published on 2026-11-11. Verified by Vigia on 2026-11-12.
How do I install the latest version of @ast-grep/cli?
Run npm install @ast-grep/cli@latest. The latest stable version is 0.51.2 (verified 2026-11-12).
Is @ast-grep/cli deprecated?
No. @ast-grep/cli is not marked as deprecated in the registry.
Which Node.js version does @ast-grep/cli require?
@ast-grep/cli 0.51.2 declares this requirement: {"node":">= 12.0.0"}.
Does @ast-grep/cli 0.51.2 have known vulnerabilities?
No known advisories affect @ast-grep/cli 0.51.2 according to the data Vigia checks.
Is @ast-grep/cli still maintained?
@ast-grep/cli published 23 stable releases in the last 12 months; the most recent was 1 days ago. Activity: active.
Observed changes
- Wed Nov 11 2026 06:49:56 GM +0000 (Coordinated Universal Time) — released 0.51.1 → 0.51.2
- Mon Nov 02 2026 14:45:27 GM +0000 (Coordinated Universal Time) — released 0.51.0 → 0.51.1
- hu Oct 15 2026 16:12:33 GMT+0000 (Coordinated Universal Time) — released 0.50.0 → 0.51.0
- Fri Oct 09 2026 16:07:02 GM +0000 (Coordinated Universal Time) — released 0.45.3 → 0.50.0
Related packages
- @oxc-parser/binding-freebsd-x64
- libnpmversion
- @types/content-type
- @vue/babel-preset-app
- @types/pumpify
- simple-oauth2
- @percy/dom
- graphql-http
- coveralls
- babel-plugin-transform-react-jsx
- move-file
- @lerna/link
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/@ast-grep/cli) [](https://vigia.coredls.cloud/npm/@ast-grep/cli) [](https://vigia.coredls.cloud/npm/@ast-grep/cli)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/@ast-grep/cli
GET https://vigia.coredls.cloud/v1/packages/npm/@ast-grep/cli/versions/{version}