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

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

## インストール

```sh
sudo av install brew:erlang
```

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

### macOS

- Homebrew (100%):

```sh
brew install erlang
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install erlang
```

  証拠: MacPorts ports tree: lang/erlang/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install erlang
```

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

- dnf (92%):

```sh
sudo dnf install erlang
```

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

- pacman (92%):

```sh
sudo pacman -S erlang
```

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

- zypper (92%):

```sh
sudo zypper install erlang
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#typer
```

  証拠: nixpkgs package indexes: pkgs/by-name/ty/typer/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Chocolatey (92%):

```sh
choco install erlang
```

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

- Scoop (92%):

```sh
scoop install main/erlang
```

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

- winget (92%):

```sh
winget install --id Erlang.ErlangOTP -e
```

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

## パッケージ情報

- **パッケージキー:** brew:erlang
- **パッケージマネージャ:** Homebrew
- **バージョン:** 29.0.4
- **ソース概要:** Programming language for highly scalable real-time systems
- **ホームページ:** <https://www.erlang.org/>
- **リポジトリ:** <https://github.com/erlang/otp>
- **最終更新:** 2026-07-29T05:44:26Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- ct_run (エイリアス)
- dialyzer (エイリアス)
- epmd (エイリアス)
- erl (エイリアス)
- erlc (エイリアス)
- escript (エイリアス)
- run_erl (エイリアス)
- to_erl (エイリアス)
- typer (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

Erlang/OTP is a programming language, runtime system, standard library set, and design-methodology suite for massively scalable soft real-time systems with high-availability requirements. It is one of the canonical BEAM ecosystem packages: installing `erlang` usually means getting the compiler, shell, runtime, OTP applications, and tools such as Dialyzer.

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

Erlang began at Ericsson as a language and runtime for telecom systems, with Joe Armstrong, Robert Virding, and Mike Williams credited by Erlang's official FAQ as the original language designers. The language was shaped around lightweight processes, message passing, fault tolerance, hot code loading, and distribution because telecom switching systems needed long-running services that could be upgraded and recovered without ordinary downtime.

OTP, the Open Telecom Platform, grew around Erlang as the reusable library and design-principles layer. The official Erlang/OTP README describes OTP as the Erlang runtime system plus ready-to-use components and design principles for Erlang programs. In practice, OTP behaviours such as servers, supervisors, and applications are as important to Erlang culture as the syntax of the language itself.

The public GitHub repository was created in 2009, moving the visible development workflow into the same source-control and pull-request culture used by many package ecosystems. The README points users to GitHub issues, contribution docs, official downloads, and source builds, while the install guide documents Unix/Linux and macOS source builds from official tarballs or Git clones.

### 採用の歴史

Erlang's original adoption base was telecom infrastructure, but its reputation expanded to any domain that values concurrency, fault tolerance, and soft real-time behavior. The official README now describes the language in broad terms rather than telecom-only terms, and package-manager coverage across Homebrew, Debian, Ubuntu, Fedora, Arch, MacPorts, Nix, Chocolatey, Scoop, winget, and zypper reflects that it is treated as a standard language runtime.

The wider BEAM ecosystem increased Erlang/OTP's visibility beyond Erlang-only projects. Elixir runs on the same VM, tools such as ExDoc are used for Erlang documentation builds, and Erlang/OTP remains the base runtime layer for BEAM package managers, releases, and deployment workflows.

### 使われ方

Daily use starts with `erl` for the interactive shell, `erlc` for compiling modules, `escript` for script-like command-line programs, and `epmd` for node discovery. The Homebrew formula also exposes tools such as `dialyzer`, `ct_run`, `typer`, `run_erl`, and `to_erl`, which reflects the fact that Erlang/OTP is a full runtime and operations toolkit rather than a single compiler binary.

Developers use Erlang/OTP to build supervision trees, distributed nodes, long-running services, protocol servers, and concurrent applications. Packagers must care about native dependencies such as OpenSSL, ncurses, Java for jinterface, wxWidgets for GUI pieces, and documentation tooling because optional OTP applications are built or skipped depending on what the build environment provides.

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

Erlang is significant in package-manager culture because it is both a language runtime and a dependency substrate. Installing it unlocks Erlang applications, many Elixir workflows, BEAM tooling, release managers, language servers, and test tools; version selection affects compiled code, NIF compatibility, TLS support, and available OTP applications.

It is also a classic example of a package whose build is simple to type but not trivial to package well. The official install guide documents source tarballs, Git clones, `$ERL_TOP`, Unix/macOS builds, and optional components gated by system libraries. That gives package maintainers real choices about feature coverage, reproducibility, patching, and compatibility with downstream BEAM tooling.

### タイムライン

- 1980s: Erlang was developed at Ericsson for telecom-style concurrent, fault-tolerant systems.
- 1990s: OTP grew around Erlang as the reusable runtime, library, and design-principles layer.
- 2009: The public Erlang/OTP GitHub repository was created.
- 2020s: Erlang/OTP is packaged broadly across Unix-like, macOS, Windows, and Nix-style ecosystems.

### Related projects

- Closely related projects include OTP applications, Dialyzer, Common Test, EPMD, Kerl, Elixir, ExDoc, Erlang LS, Erlang Language Platform, and the wider BEAM VM ecosystem.

### ソース

- <https://www.erlang.org/faq/academic>
- <https://github.com/erlang/otp>
- <https://github.com/erlang/otp/blob/master/HOWTO/INSTALL.md>
- <https://api.github.com/repos/erlang/otp>
- <https://www.erlang.org/docs>


## セキュリティノート

generalized runtime or code generation signal.

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

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

- Debian apt - erlang - 1:27.3.4.1+dfsg-1+deb13u2: normalized package name match | Debian stable package indexes: erlang from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Concurrent, real-time, distributed functional language | http://www.erlang.org/
- Debian apt - erlang-asn1 - 1:27.3.4.1+dfsg-1+deb13u2: normalized package name match | Debian stable package indexes: erlang-asn1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Erlang/OTP modules for ASN.1 support | http://www.erlang.org/
- Debian apt - erlang-base - 1:27.3.4.1+dfsg-1+deb13u2: normalized package name match | Debian stable package indexes: erlang-base from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Erlang/OTP virtual machine and base applications | http://www.erlang.org/
- Debian apt - erlang-common-test - 1:27.3.4.1+dfsg-1+deb13u2: normalized package name match | Debian stable package indexes: erlang-common-test from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Erlang/OTP application for automated testing | http://www.erlang.org/
- Debian apt - erlang-crypto - 1:27.3.4.1+dfsg-1+deb13u2: normalized package name match | Debian stable package indexes: erlang-crypto from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Erlang/OTP cryptographic modules | http://www.erlang.org/
- Debian apt - erlang-debugger - 1:27.3.4.1+dfsg-1+deb13u2: normalized package name match | Debian stable package indexes: erlang-debugger from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Erlang/OTP application for debugging and testing | http://www.erlang.org/
- Debian apt - erlang-dev - 1:27.3.4.1+dfsg-1+deb13u2: normalized package name match | Debian stable package indexes: erlang-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Erlang/OTP development libraries and headers | http://www.erlang.org/
- Debian apt - erlang-dialyzer - 1:27.3.4.1+dfsg-1+deb13u2: normalized package name match | Debian stable package indexes: erlang-dialyzer from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Erlang/OTP discrepancy analyzer application | http://www.erlang.org/
- Debian apt - erlang-diameter - 1:27.3.4.1+dfsg-1+deb13u2: normalized package name match | Debian stable package indexes: erlang-diameter from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Erlang/OTP implementation of RFC 6733 protocol | http://www.erlang.org/
- Debian apt - erlang-doc - 1:27.3.4.1+dfsg-1+deb13u2: normalized package name match | Debian stable package indexes: erlang-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Erlang/OTP HTML documentation | http://www.erlang.org/
- Debian apt - erlang-edoc - 1:27.3.4.1+dfsg-1+deb13u2: normalized package name match | Debian stable package indexes: erlang-edoc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Erlang/OTP module for generating documentation | http://www.erlang.org/
- Debian apt - erlang-eldap - 1:27.3.4.1+dfsg-1+deb13u2: normalized package name match | Debian stable package indexes: erlang-eldap from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Erlang/OTP LDAP library | http://www.erlang.org/
- Debian apt - erlang-et - 1:27.3.4.1+dfsg-1+deb13u2: normalized package name match | Debian stable package indexes: erlang-et from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Erlang/OTP event tracer application | http://www.erlang.org/
- Debian apt - erlang-eunit - 1:27.3.4.1+dfsg-1+deb13u2: normalized package name match | Debian stable package indexes: erlang-eunit from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Erlang/OTP module for unit testing | http://www.erlang.org/
- Debian apt - erlang-examples - 1:27.3.4.1+dfsg-1+deb13u2: normalized package name match | Debian stable package indexes: erlang-examples from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Erlang/OTP application examples | http://www.erlang.org/
- Debian apt - erlang-ftp - 1:27.3.4.1+dfsg-1+deb13u2: normalized package name match | Debian stable package indexes: erlang-ftp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Erlang/OTP FTP client | http://www.erlang.org/


## Combined YAML source

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