# Installer erg avec Homebrew, Nix

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

## installation

```sh
sudo av install brew:erg
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install erg
```

  Preuve: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#erg
```

  Preuve: nixpkgs package indexes: pkgs/by-name/er/erg/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Faits du paquet

- **Clé du paquet:** brew:erg
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/erg>
- **Version:** 0.6.53
- **Résumé source:** Statically typed language that can deeply improve the Python ecosystem
- **Page d'accueil:** <https://github.com/erg-lang/erg>
- **Dépôt:** <https://github.com/erg-lang/erg>
- **Licence:** Apache-2.0 OR MIT
- **Archive source:** <https://github.com/erg-lang/erg/archive/refs/tags/v0.6.53.tar.gz>
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- erg (cli)
- erg (alias)

## Dépendances de compilation

- rust

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 0.6.53
- données locales: OK
- dépôt amont: https://github.com/erg-lang/erg
- dernière version détectée: v0.6.53 (à jour)
- info: No package-manager update timestamp was available.
## Historique du projet et usages

Erg is an experimental statically typed programming language implemented in Rust and designed to interoperate with Python. The official README presents it as a language for Python users who want stronger static guarantees, readable errors, and a practical mix of functional and object-oriented programming.

### Historique du projet

The public GitHub repository was created in 2022, with an initial 0.1.1 GitHub release shortly afterward. The README states that the repository contains the compiler and documentation and lists features such as refinement-style type checks, Python API imports, optional language-server builds, and localized diagnostics.

### Historique d'adoption

Erg's adoption is early-stage and developer-experimental. The README points users to Cargo, source builds, Nix, a web playground, and multilingual documentation, while the supplied input lists Homebrew and Nix package availability.

### Modes d'utilisation

Users run the `erg` compiler or REPL, build it with Cargo or Nix, and can enable feature flags such as language-specific diagnostics, the Erg Language Server, debug mode, or richer REPL behavior. Its core usage story is trying a Python-compatible language with static checks rather than replacing the Python runtime outright.

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

Erg is interesting to package nerds as a young language-runtime formula: it mixes a Rust compiler, Python runtime requirements, optional language-server pieces, and docs/playground expectations. Its package-manager presence is more about discoverability for language experimenters than mass production use.

### Chronologie

- 2022: The GitHub repository was created.
- 2022: Version 0.1.1 was published on GitHub releases.
- 2020s: The README documents Cargo, source, Nix, and optional ELS installation paths.

### Related projects

- Erg is related to Python, Rust, Nix, Cargo, and editor language-server tooling.

### Sources

- <https://github.com/erg-lang/erg>
- <https://github.com/erg-lang/erg/releases>
- <https://api.github.com/repos/erg-lang/erg>
- <https://erg-lang.org/the-erg-book>


## 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:** erg
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Autres enregistrements de gestionnaires de paquets

- Nix - erg: normalized package name match | nixpkgs package indexes: pkgs/by-name/er/erg/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 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.
- [Developer build packages](https://pkg.so/fr/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://pkg.so/fr/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [rust](https://pkg.so/fr/brew/rust/) - Build dependency declared by Homebrew.
- [ocaml](https://pkg.so/fr/brew/ocaml/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime, programming-language, programming-languages.
- [odin](https://pkg.so/fr/brew/odin/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime, programming-language, programming-languages.
- [faust](https://pkg.so/fr/brew/faust/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime, programming-language, programming-languages.
- [fantom](https://pkg.so/fr/brew/fantom/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime, programming-language, programming-languages.
- [oak](https://pkg.so/fr/brew/oak/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime, programming-language, programming-languages.
- [erlang](https://pkg.so/fr/brew/erlang/) - Shares pkgdb curated category or tags: cli, language-runtime, programming-language, programming-languages.
- [nim](https://pkg.so/fr/brew/nim/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime, programming-language, statically-typed.
- [hy](https://pkg.so/fr/brew/hy/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, compiler, language, language-runtime, programming.
- [three-body](https://pkg.so/fr/brew/three-body/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, compiler, language, language-runtime, programming.
- [nesc](https://pkg.so/fr/brew/nesc/) - Local package facts share a topical domain. Shared terms: cli, compiler, deeply, language, language-runtime.

## Combined YAML source

View the package source record on GitHub. [combined/erg.yml](https://github.com/mxcl/pkgdb/blob/main/combined/erg.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
- external package-manager database matches
- cross-ecosystem install command graph
