# hy を Homebrew, apk, apt, Nix, pacman でインストール

hy のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install hy
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add hy
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:hy
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.3.1
- **ソース概要:** Dialect of Lisp that's embedded in Python
- **ホームページ:** <https://github.com/hylang/hy>
- **最終更新:** 2026-08-01T18:08:24Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- hy (エイリアス)
- hy2py (エイリアス)
- hyc (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.3.1
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

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


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

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


## ソース

- 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
