# Install gleam with Homebrew, apk, MacPorts, Nix, pacman, scoop, winget, zypper

Statically typed language for the Erlang VM. Version 1.17.0 via Homebrew; verified 2026-06-02.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install gleam
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gleam
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: openSUSE Tumbleweed package metadata: gleam from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Scoop (92%):

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

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:gleam
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/gleam>
- **Version:** 1.17.0
- **Source summary:** Statically typed language for the Erlang VM
- **Homepage:** <https://gleam.run>
- **Repository:** <https://github.com/gleam-lang/gleam>
- **Upstream docs:** <https://gleam.run/documentation>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/gleam-lang/gleam/archive/refs/tags/v1.17.0.tar.gz>
- **Last updated:** 2026-06-02T15:52:40Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- gleam (cli)
- gleam (alias)

## Dependencies

- erlang
- rebar3

## Build dependencies

- pkgconf
- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.17.0
- Package-manager updated: 2026-06-02
- Local data: ok
- Upstream repository: https://github.com/gleam-lang/gleam
- Upstream latest detected: v1.17.0 (current)
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- 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
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** gleam
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- 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.17.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.16.0-2: 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.1: normalized package name match | openSUSE Tumbleweed package metadata: gleam from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-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


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [erlang](https://www.automicvault.com/pkg/brew/erlang/) - Runtime dependency declared by Homebrew.
- [rebar3](https://www.automicvault.com/pkg/brew/rebar3/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [erg](https://www.automicvault.com/pkg/brew/erg/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language, programming-languages.
- [fantom](https://www.automicvault.com/pkg/brew/fantom/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language, programming-languages.
- [faust](https://www.automicvault.com/pkg/brew/faust/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language, programming-languages.
- [futhark](https://www.automicvault.com/pkg/brew/futhark/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language, programming-languages.
- [haxe](https://www.automicvault.com/pkg/brew/haxe/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language, programming-languages.
- [oak](https://www.automicvault.com/pkg/brew/oak/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language, programming-languages.
- [ocaml](https://www.automicvault.com/pkg/brew/ocaml/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language, programming-languages.
- [odin](https://www.automicvault.com/pkg/brew/odin/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language, programming-languages.

## Combined YAML source

View the package source record on GitHub. [combined/gleam.yml](https://github.com/automic-vault/db/blob/main/combined/gleam.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
