# Installer astgen avec Homebrew

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de astgen pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:astgen
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install astgen
```

  Preuve: local Homebrew formula metadata

## Faits du paquet

- **Clé du paquet:** brew:astgen
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/astgen>
- **Version:** 3.47.0
- **Résumé source:** Generate AST in json format for JS/TS
- **Page d'accueil:** <https://github.com/joernio/astgen-monorepo>
- **Dépôt:** <https://github.com/joernio/astgen-monorepo>
- **Licence:** Apache-2.0
- **Archive source:** <https://github.com/joernio/astgen-monorepo/archive/refs/tags/javascript-astgen/v3.47.0.tar.gz>
- **Dernière mise à jour:** 2026-07-17T09:31:55Z
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- astgen (cli)
- astgen (alias)

## Dépendances

- node

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur all

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 3.47.0
- gestionnaire mis à jour: 2026-07-17
- données locales: OK
- dépôt amont: https://github.com/joernio/astgen-monorepo
- dernière version détectée: javascript-astgen/v3.47.0 (à jour)
## Historique du projet et usages

astgen is a Joern-related AST generator package for producing JSON AST output for JavaScript and TypeScript. The original standalone repository is now archived and points to joernio/astgen-monorepo.

### Historique du projet

The original joernio/astgen repository describes the package as generating AST in JSON format for JavaScript and TypeScript. GitHub now marks that repository archived, and its README directs future work to joernio/astgen-monorepo.

The replacement monorepo reframes astgen as a family of language-specific AST generators for the Joern code analysis platform. Its README lists ABAP, .NET, Go, JavaScript/TypeScript, Ruby, Rust, and Swift generators, each with its own build system, dependencies, tests, and release workflow.

### Historique d'adoption

Public adoption evidence is thin: the supplied facts show a Homebrew formula, while the original repository has a small public footprint. The package is best understood as a Joern ecosystem utility rather than a broad standalone developer tool.

### Modes d'utilisation

Package users invoke the astgen executable to produce AST JSON for JavaScript/TypeScript workflows. In current upstream development, users should expect language-specific directories and prefixed release tags in the monorepo rather than all work happening in the archived standalone repository.

### Pourquoi les passionnés de paquets s'y intéressent

The interesting package-manager detail is the repository transition: a Homebrew package points at a historical standalone tool, while upstream now collects multiple AST generators under one monorepo with per-language releases and checksums.

That makes source provenance and release-tag selection more important than the package's public popularity.

### Chronologie

- 2026: joernio/astgen was archived and its README directed users to joernio/astgen-monorepo.
- 2026: astgen-monorepo README documents independently versioned language generators and prefixed release tags.

### Related projects

- Joern is the code analysis platform named by the monorepo README as the consumer context for the AST generators.
- javascript-astgen in the monorepo is the closest successor to the standalone JS/TS astgen package.
- Other monorepo siblings include abap-astgen, dotnet-astgen, go-astgen, ruby-astgen, rust-astgen, and swift-astgen.

### Sources

- <https://github.com/joernio/astgen#readme>
- <https://github.com/joernio/astgen-monorepo#readme>
- source_facts.package-manager


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** astgen
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## Liens liés

- [Source-control packages](https://pkg.so/fr/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/fr/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/fr/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [node](https://pkg.so/fr/brew/node/) - Runtime dependency declared by Homebrew.
- [joern](https://pkg.so/fr/brew/joern/) - Popular package that depends on this formula.
- [fallow](https://pkg.so/fr/brew/fallow/) - Shares pkgdb curated category or tags: cli, code-analysis, developer-tools, javascript, typescript.
- [cloc](https://pkg.so/fr/brew/cloc/) - Shares pkgdb curated category or tags: cli, code-analysis, developer-tools.
- [scc](https://pkg.so/fr/brew/scc/) - Shares pkgdb curated category or tags: cli, code-analysis, developer-tools.
- [loc](https://pkg.so/fr/brew/loc/) - Shares pkgdb curated category or tags: cli, code-analysis, developer-tools.
- [clang-include-graph](https://pkg.so/fr/brew/clang-include-graph/) - Shares pkgdb curated category or tags: cli, code-analysis, developer-tools.
- [cppinsights](https://pkg.so/fr/brew/cppinsights/) - Shares pkgdb curated category or tags: cli, code-analysis, developer-tools.
- [ohcount](https://pkg.so/fr/brew/ohcount/) - Shares pkgdb curated category or tags: cli, code-analysis, developer-tools.
- [prettier](https://pkg.so/fr/brew/prettier/) - Shares pkgdb curated category or tags: cli, developer-tools, javascript, typescript.
- [undeclared-identifiers](https://pkg.so/fr/npm/undeclared-identifiers/) - Both packages touch the same language runtime or ecosystem. Shared terms: analysis, ast, cli, code, code-analysis.
- [tern](https://pkg.so/fr/npm/tern/) - Both packages touch the same language runtime or ecosystem. Shared terms: analysis, cli, code, code-analysis, developer.
- [trace-unhandled](https://pkg.so/fr/npm/trace-unhandled/) - Both packages touch the same language runtime or ecosystem. Shared terms: analysis, cli, code, code-analysis, developer.

## Combined YAML source

View the package source record on GitHub. [combined/astgen.yml](https://github.com/mxcl/pkgdb/blob/main/combined/astgen.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
