# Installer hy avec Homebrew, apk, apt, Nix, pacman

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

## installation

```sh
sudo av install brew:hy
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install hy
```

  Preuve: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add hy
```

  Preuve: Alpine Linux edge package indexes: hy from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install hy
```

  Preuve: Debian stable package indexes: hy from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#hy
```

  Preuve: nixpkgs package indexes: hy from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S hy
```

  Preuve: Arch Linux sync databases: hy from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Faits du paquet

- **Clé du paquet:** brew:hy
- **Gestionnaire de paquets:** Homebrew
- **Version:** 1.3.1
- **Résumé source:** Dialect of Lisp that's embedded in Python
- **Page d'accueil:** <https://github.com/hylang/hy>
- **Dernière mise à jour:** 2026-08-01T18:08:24Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- hy (alias)
- hy2py (alias)
- hyc (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 1.3.1
## Historique du projet et usages

Hy is a Lisp dialect embedded in Python. It reads Lisp syntax and transforms it into Python abstract syntax tree objects, giving users macros and Lisp syntax while keeping access to Python built-ins, libraries, packaging, and runtime behavior.

### Historique du projet

The public repository was created in December 2012. Hy's README frames the project with the line that Lisp and Python should love each other, and explains the core technical idea: Hy code becomes Python AST, so Python's ecosystem remains available.

The 1.0.0 announcement in September 2024 described that release as arriving after nearly 12 years of on-and-off development and real-world use. The NEWS file states that Hy follows semantic versioning since 1.0.0, marking a stabilization point after the long 0.x period.

### Historique d'adoption

Hy is distributed through Python packaging and also appears in system package managers such as Homebrew, Debian, Ubuntu, Arch, Alpine, and Nix. Its community surfaces include GitHub Discussions, Stack Overflow's `hy` tag, documentation on hylang.org, and a browser console for trying the language.

### Modes d'utilisation

Users run `hy` for a REPL, execute `.hy` programs with `hy myprogram.hy`, translate with `hy2py`, and compile with `hyc`. The homepage examples show Python-equivalent forms for assignment, sorting, functions, context managers, comprehensions, and macros.

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

Hy is interesting to package nerds because it is not a separate virtual machine or runtime island. It packages as a Python-hosted language that can import Python modules directly, which makes it easier to install experimentally while still offering Lisp macros and syntax.

### Chronologie

- 2012: Public GitHub repository created.
- 2024: 1.0.0 released after nearly 12 years of development.
- 2024: NEWS states semantic versioning begins with 1.0.0.
- 2026: 1.3.0 release notes list support for Python 3.9 through Python 3.15.

### Related projects

- Hy is related to Python, Lisp-family languages, macro systems, Python AST tooling, PyPI packaging, and editor/REPL workflows for experimental languages.

### Sources

- Hy homepage, README, NEWS, 1.0.0 announcement, repository metadata, and Homebrew package metadata were used.


## Notes de sécurité

narrow executable package without higher-risk signals.

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

## Autres enregistrements de gestionnaires de paquets

- Debian apt - hy - 1.0.0-1: normalized package name match | Debian stable package indexes: hy from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Lisp (s-expression) based frontend to Python (cmdline) | http://hylang.org/
- Debian apt - hy-doc - 1.0.0-1: normalized package name match | Debian stable package indexes: hy-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Lisp (s-expression) based frontend to Python (documentation) | http://hylang.org/
- Debian apt - python3-hy - 1.0.0-1: normalized package name match | Debian stable package indexes: python3-hy from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Lisp (s-expression) based frontend to Python 3 | http://hylang.org/
- Nix - hy: normalized package name match | nixpkgs package indexes: hy from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - hy - 0.28.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: hy from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Lisp (s-expression) based frontend to Python (cmdline) | http://hylang.org/
- Ubuntu apt - hy-doc - 0.28.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: hy-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Lisp (s-expression) based frontend to Python (documentation) | http://hylang.org/
- Ubuntu apt - python3-hy - 0.28.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-hy from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Lisp (s-expression) based frontend to Python 3 | http://hylang.org/
- apk - hy - 1.1.0-r1: normalized package name match | Alpine Linux edge package indexes: hy from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Dialect of Lisp that's embedded in Python | http://hylang.org/
- apk - hy-pyc - 1.1.0-r1: normalized package name match | Alpine Linux edge package indexes: hy-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for hy | http://hylang.org/
- pacman - hy - 1:1.3.0-1: normalized package name match | Arch Linux sync databases: hy from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A dialect of Lisp that's embedded in Python | http://hylang.org/


## Combined YAML source

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


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
