# gleam を Homebrew, apk, MacPorts, Nix, pacman, zypper, scoop, winget でインストール

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

## インストール

```sh
sudo av install brew:gleam
```

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

### macOS

- Homebrew (100%):

```sh
brew install gleam
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gleam
```

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

### Linux

- apk (92%):

```sh
sudo apk add gleam
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#gleam
```

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

- pacman (92%):

```sh
sudo pacman -S gleam
```

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

- zypper (92%):

```sh
sudo zypper install gleam
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/gleam
```

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

- winget (92%):

```sh
winget install --id Gleam.Gleam -e
```

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

## パッケージ情報

- **パッケージキー:** brew:gleam
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.18.1
- **ソース概要:** Statically typed language for the Erlang VM
- **ホームページ:** <https://gleam.run>
- **リポジトリ:** <https://github.com/gleam-lang/gleam>
- **最終更新:** 2026-08-02T00:48:40Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- gleam (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

Gleam is a statically typed functional programming language and toolchain for the Erlang VM, with JavaScript runtime support added as the language matured. Its package-manager identity is unusually compact: the same `gleam` command covers compiling, formatting, project management, package publishing, and editor integration.

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

Louis Pilfold announced Gleam v0.1 in April 2019 as a friendly language for maintainable, scalable systems on the Erlang virtual machine. The early design combined ML-family type-system ideas with BEAM interoperability, so Gleam modules could call Erlang and Elixir code and expose libraries back to the wider BEAM ecosystem.

The 1.0 release in March 2024 marked the language, compiler, build tool, package manager, formatter, language server, and WASM/JavaScript compiler API as stable public surfaces. That milestone turned Gleam from a promising BEAM experiment into a production-oriented language with a semver promise for its core tooling.

### 採用の歴史

Gleam grew around BEAM developers who wanted static types without giving up Erlang's runtime model or Elixir's library reach. Official documentation also points learners from Elixir, Elm, Erlang, PHP, Python, and Rust toward migration guides, which reflects the language's role as a bridge between functional-web communities.

The project maintains its own package index and documentation flow, making third-party libraries visible without depending solely on Hex package pages. That helped Gleam develop a recognizable ecosystem around web services, deployment guides, editor tooling, and core-team packages.

### 使われ方

Practitioners use `gleam new`, `gleam build`, `gleam test`, `gleam format`, and `gleam publish` as the normal project loop. In package-manager terms, installing the Homebrew formula gives the compiler plus the build and package tools, with `gleam.toml` as the project manifest.

Gleam is most often chosen for network services, web backends, command-backed project automation, and typed libraries that need BEAM interoperation. The JavaScript target extends the same source language to browsers and other JavaScript runtimes.

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

For package maintainers, Gleam is a small but complete language stack: one binary, one manifest, official docs, official package search, and reproducible project commands. That makes it easy to package compared with language ecosystems that split compiler, formatter, package manager, and language server into separate distributions.

### タイムライン

- 2019: Gleam v0.1 announced as the first public release.
- 2024: Gleam v1.0 released with stable language and tooling APIs.

### Related projects

- Gleam is related to Erlang and Elixir through the BEAM runtime, and to Elm, OCaml, and Rust through type-system and developer-experience influences.

### ソース

- <https://github.com/gleam-lang/gleam>
- <https://gleam.run/documentation/>
- <https://gleam.run/news/gleam-version-1/>
- <https://gleam.run/news/hello-gleam/>


## セキュリティノート

narrow executable package without higher-risk signals.

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


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: gleam.toml
- Windows: gleam.toml
## 他のパッケージマネージャ記録

- Nix - gleam: normalized package name match | nixpkgs package indexes: pkgs/by-name/gl/gleam/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - gleam - 1.18.0-r0: normalized package name match | Alpine Linux edge package indexes: gleam from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Statically-typed language that compiles to Erlang and JS | https://gleam.run/
- pacman - gleam - 1.18.1-1: normalized package name match | Arch Linux sync databases: gleam from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Friendly programming language for building type-safe and scalable systems | https://github.com/gleam-lang/gleam
- zypper - gleam - 1.17.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: gleam from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A friendly language for building type-safe, scalable systems! | https://gleam.run/
- MacPorts - gleam: normalized package name match | MacPorts ports tree: lang/gleam/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/gleam: normalized package name match | Scoop official bucket manifest trees: bucket/gleam.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Gleam.Gleam: normalized package name match | Windows Package Manager source index: Gleam.Gleam from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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


## ソース

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