# haxe を Homebrew, apk, chocolatey, apt, dnf, Nix, pacman, zypper, scoop, winget でインストール

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

## インストール

```sh
sudo av install brew:haxe
```

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

### macOS

- Homebrew (100%):

```sh
brew install haxe
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add haxe
```

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

- Debian apt (92%):

```sh
sudo apt install haxe
```

  証拠: Debian stable package indexes: haxe from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install haxe
```

  証拠: Fedora Rawhide package metadata: haxe from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#haxe
```

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

- pacman (92%):

```sh
sudo pacman -S haxe
```

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

- zypper (92%):

```sh
sudo zypper install haxe
```

  証拠: openSUSE Tumbleweed package metadata: haxe from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install haxe
```

  証拠: Chocolatey community package catalog: haxe from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','handbrake.install'

- Scoop (92%):

```sh
scoop install main/haxe
```

  証拠: Scoop official bucket manifest trees: bucket/haxe.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id HaxeFoundation.Haxe -e
```

  証拠: Windows Package Manager source index: HaxeFoundation.Haxe from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:haxe
- **パッケージマネージャ:** Homebrew
- **バージョン:** 4.3.7
- **ソース概要:** Multi-platform programming language
- **ホームページ:** <https://haxe.org/>
- **リポジトリ:** <https://github.com/HaxeFoundation/haxe>
- **最終更新:** 2026-07-13T05:11:30Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- haxe (エイリアス)
- haxelib (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

Haxe is an open-source programming language, compiler, standard library, and package ecosystem built around compiling one codebase to many targets. In package-manager culture it sits at the intersection of language runtime, cross-compiler, transpiler, and game/tooling ecosystem.

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

The Haxe manual traces the project to 22 October 2005, when Nicolas Cannasse started it as a successor to MTASC, the Motion-Twin Action Script Compiler, and to Motion-Twin's in-house MTypes language experiments. The early spelling was haXe, and the beta appeared in February 2006 with AVM bytecode and Neko as the first targets.

Haxe 1.0 followed in May 2006 with JavaScript code generation and early versions of defining language features such as type inference and structural subtyping. Later Haxe 1 releases added the Flash AVM2 target, haxelib, and ActionScript 3 support, tying the language to both Flash-era workflows and package-oriented reuse.

Haxe 2.0 arrived in July 2008 with a PHP target, and Haxe 2.04 added C++ in July 2009. The 2.x line also brought macros in 2011, major JavaScript target maintenance, and work that led toward Java and C# targets before the final Haxe 2.10 release in July 2012.

The Haxe Foundation was established after years of open-source development to fund long-term work, support the ecosystem, and provide a contact point for companies evaluating Haxe. With that backing, the Haxe compiler team moved to Haxe 3, released in May 2013.

The GitHub repository under HaxeFoundation was created in May 2013, matching the foundation-era source-hosting move. The repository README frames Haxe as a toolkit containing the language, cross-compiler, and standard library, with targets including JavaScript, C++, JVM, Lua, PHP, Python, HashLink, NekoVM, Flash bytecode, and the interpreter.

### 採用の歴史

Haxe adoption grew first from Flash and game-development needs, then broadened with server, desktop, mobile, and command-line targets. The official use-case pages highlight games such as Dead Cells, Northgard, Papers, Please, Rymdkapsel, Defender's Quest, and Evoland, and also point to OpenFL, Heaps, Kha, Flambe, HaxeFlixel, and HaxePunk showcases.

The Haxe site describes use by independent developers and large corporate teams, and the Foundation page lists enterprise and professional partners. That mix explains Haxe's unusual package profile: it is a compiler in system package managers, a library ecosystem through haxelib, and an application/game tooling stack through frameworks built on top of it.

Haxelib is documented as the package manager for the Haxe Toolkit and a place to find and share Haxe libraries. That gives Haxe a two-layer adoption story for package nerds: operating-system package managers distribute the compiler, while haxelib distributes Haxe libraries and frameworks.

### 使われ方

Users install the Haxe compiler and invoke haxe to compile programs to a chosen target. haxelib manages libraries, and the official manual plus API documentation cover the language, compiler flags, target-specific details, standard library, and package manager workflow.

Haxe is commonly used when a team wants strong typing and one source language while producing JavaScript, native, VM, or bytecode outputs. Its package-manager footprint matters because language versions, target runtimes, and haxelib libraries have to line up cleanly for repeatable builds.

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

Haxe is interesting to package maintainers because it is both a compiler and an ecosystem root. A package formula has to expose the compiler and haxelib tools, while downstream projects may depend on target-specific runtimes such as Neko or HashLink and on libraries installed through haxelib.

Its history also explains why Haxe appears in many package indexes despite being niche compared with larger general-purpose languages: game frameworks, Flash migration paths, cross-platform app code, and generated-output workflows all created real demand for a portable compiler package.

### タイムライン

- 2005: Nicolas Cannasse starts Haxe on 22 October.
- 2006: Beta release appears in February with AVM bytecode and Neko targets.
- 2006: Haxe 1.0 is released in May with JavaScript code generation.
- 2006: haxelib is added during the Haxe 1 series.
- 2008: Haxe 2.0 is released with PHP target support.
- 2009: Haxe 2.04 adds the C++ target.
- 2011: Haxe 2.07 adds macro support.
- 2012: Haxe 2.10 is released as the final Haxe 2 line.
- 2013: Haxe 3 is released in May, backed by the Haxe Foundation era.
- 2013: HaxeFoundation/haxe repository is created on GitHub.

### Related projects

- MTASC and MTypes are direct historical predecessors named by the Haxe manual.
- NekoVM, HashLink, OpenFL, Heaps, Kha, HaxeFlixel, HaxePunk, and Flambe are related ecosystem projects and targets/frameworks that shaped Haxe packaging and adoption.
- Haxelib is the companion package manager for sharing Haxe code libraries.

### ソース

- <https://api.github.com/repos/HaxeFoundation/haxe>
- <https://github.com/HaxeFoundation/haxe>
- <https://haxe.org/foundation/>
- <https://haxe.org/manual/haxelib.html>
- <https://haxe.org/manual/introduction-haxe-history.html>
- <https://haxe.org/manual/introduction-what-is-haxe.html>
- <https://raw.githubusercontent.com/HaxeFoundation/haxe/development/README.md>


## セキュリティノート

generalized runtime or code generation signal.

- **Geiger リスク:** yellow / 中
- generalized runtime or code generation signal

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

- Debian apt - haxe - 1:4.3.6-3: normalized package name match | Debian stable package indexes: haxe from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | multi-target universal programming language | https://haxe.org
- Nix - haxe: normalized package name match | nixpkgs package indexes: haxe from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - haxe - 1:4.3.3-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: haxe from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | multi-target universal programming language | https://haxe.org
- apk - haxe - 4.3.3-r5: normalized package name match | Alpine Linux edge package indexes: haxe from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | The Cross-Platform Toolkit | https://haxe.org
- apk - haxe-doc - 4.3.3-r5: normalized package name match | Alpine Linux edge package indexes: haxe-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | The Cross-Platform Toolkit (documentation) | https://haxe.org
- dnf - haxe - 4.3.7-8.fc45: normalized package name match | Fedora Rawhide package metadata: haxe from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Multi-target universal programming language | https://haxe.org/
- dnf - haxe-stdlib - 4.3.7-8.fc45: normalized package name match | Fedora Rawhide package metadata: haxe-stdlib from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | The Haxe standard library | https://haxe.org/
- pacman - haxe - 4.3.7-5: normalized package name match | Arch Linux sync databases: haxe from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Cross-platform toolkit and programming language | https://haxe.org/
- zypper - haxe - 4.3.7-4.2: normalized package name match | openSUSE Tumbleweed package metadata: haxe from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Multiplatform programming language | https://haxe.org/
- Chocolatey - haxe: normalized package name match | Chocolatey community package catalog: haxe from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','handbrake.install'
- Scoop - main/haxe: normalized package name match | Scoop official bucket manifest trees: bucket/haxe.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - HaxeFoundation.Haxe: normalized package name match | Windows Package Manager source index: HaxeFoundation.Haxe from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/haxe.yml](https://github.com/mxcl/pkgdb/blob/main/combined/haxe.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
