# astgen mit Homebrew installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für astgen in AI-Agent-Workflows.

## Installation

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

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install astgen
```

  Evidenz: local Homebrew formula metadata

## Paketfakten

- **Paketschlüssel:** brew:astgen
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/astgen>
- **Version:** 3.47.0
- **Quellzusammenfassung:** Generate AST in json format for JS/TS
- **Homepage:** <https://github.com/joernio/astgen-monorepo>
- **Repository:** <https://github.com/joernio/astgen-monorepo>
- **Lizenz:** Apache-2.0
- **Quellarchiv:** <https://github.com/joernio/astgen-monorepo/archive/refs/tags/javascript-astgen/v3.47.0.tar.gz>
- **Zuletzt aktualisiert:** 2026-07-17T09:31:55Z
- **Generiert:** 2026-08-04T22:13:35+00:00

## Executables

- astgen (cli)
- astgen (Alias)

## Abhängigkeiten

- node

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf all

## Version und Aktualität

- Seite generiert: 2026-08-04
- Manager-Version: 3.47.0
- Manager aktualisiert: 2026-07-17
- lokale Daten: OK
- Upstream-Repository: https://github.com/joernio/astgen-monorepo
- neueste erkannte Version: javascript-astgen/v3.47.0 (aktuell)
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

- 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.

### Quellen

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


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Details aus der Quelldatenbank

- **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


## Verwandte Links

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


## Quellen

- 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
