# Install ast-grep with npm

Like grep, but more powerful than you can possibly imagine. Version 0.1.0 via npm; verified 2018-01-14.

## Install

```sh
sudo av install npm:ast-grep
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g ast-grep
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:ast-grep
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/ast-grep>
- **Version:** 0.1.0
- **Source summary:** Like grep, but more powerful than you can possibly imagine.
- **Homepage:** <https://github.com/azz/ast-grep#readme>
- **Repository:** <https://github.com/azz/ast-grep>
- **Upstream docs:** <https://github.com/azz/ast-grep#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/ast-grep/-/ast-grep-0.1.0.tgz>
- **Issue tracker:** <https://github.com/azz/ast-grep/issues>
- **Published:** 2018-01-14T11:37:00.934Z
- **Last updated:** 2018-01-14T11:37:00.934Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- ast-grep (cli)

## Dependencies

- @babel/code-frame
- @babel/traverse
- babylon
- core-js
- deep-equal
- get-stream
- globby
- mem
- omit-deep-lodash
- yargs

## Build dependencies

- babel-cli
- babel-core
- babel-plugin-transform-object-rest-spread
- babel-preset-env
- common-tags
- eslint
- eslint-config-prettier
- eslint-config-xo
- eslint-plugin-jest
- eslint-plugin-prettier
- husky
- jest
- prettier
- pretty-quick
- semantic-release

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.1.0
- Package-manager updated: 2018-01-14
- Local data: ok
- Upstream repository: https://github.com/azz/ast-grep
- warning: The package-manager record has not been updated in over a year.
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for ast-grep. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 0.1.0
- **Version Count:** 3
- **Maintainers:** azz
- **Author:** Lucas Azzola
- **Publisher:** azz
- **Integrity:** sha512-c+dn2JoYaI8x0BOq8B4v0g9yH+KW43ICaAf6GVTIW9WyE2Vj4X/JkgMi1TQHZC6lzAwG/a1kg12Vq4EbYlS6ZQ==
- **Shasum:** a953418f72939b3e40551ca33c57e336e5e0d36a
- **File Count:** 1
- **Created At:** 2018-01-13T10:18:14.174Z
- **Latest Published At:** 2018-01-14T11:37:00.934Z
- **Modified At:** 2022-04-11T15:26:45.100Z

## Other Package-Manager Records

- Nix - ast-grep: normalized package name match | nixpkgs package indexes: pkgs/by-name/as/ast-grep/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - ast-grep - 0.28.1-r0: normalized package name match | Alpine Linux edge package indexes: ast-grep from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A CLI tool for code structural search, lint and rewriting | https://github.com/ast-grep/ast-grep
- apk - ast-grep-bash-completion - 0.28.1-r0: normalized package name match | Alpine Linux edge package indexes: ast-grep-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for ast-grep | https://github.com/ast-grep/ast-grep
- apk - ast-grep-fish-completion - 0.28.1-r0: normalized package name match | Alpine Linux edge package indexes: ast-grep-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for ast-grep | https://github.com/ast-grep/ast-grep
- apk - ast-grep-zsh-completion - 0.28.1-r0: normalized package name match | Alpine Linux edge package indexes: ast-grep-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for ast-grep | https://github.com/ast-grep/ast-grep
- pacman - ast-grep - 0.43.0-1: normalized package name match | Arch Linux sync databases: ast-grep from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | CLI tool for code structural search, lint and rewriting | https://ast-grep.github.io/
- zypper - ast-grep - 0.43.0-1.1: normalized package name match | openSUSE Tumbleweed package metadata: ast-grep from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A CLI tool for code structural search, lint and rewriting | https://ast-grep.github.io/
- MacPorts - ast-grep: normalized package name match | MacPorts ports tree: devel/ast-grep/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/ast-grep: normalized package name match | Scoop official bucket manifest trees: bucket/ast-grep.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - ast-grep.ast-grep: normalized package name match | Windows Package Manager source index: ast-grep.ast-grep from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [ast-grep](https://www.automicvault.com/pkg/brew/ast-grep/) - Same normalized package name appears in another local ecosystem. Shared terms: ast, ast-grep, code, grep.
- [metro](https://www.automicvault.com/pkg/npm/metro/) - Local package facts share a topical domain. Shared terms: babel, code, code-frame, core, frame.
- [gatsby](https://www.automicvault.com/pkg/npm/gatsby/) - Local package facts share a topical domain. Shared terms: babel, code, code-frame, core, frame.
- [ast-grep](https://www.automicvault.com/pkg/brew/ast-grep/) - Same normalized package name exists in another local package ecosystem.

## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
