# Installer melange avec Homebrew, apk, Nix, pacman, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de melange pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:melange
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install melange
```

  Preuve: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add melange
```

  Preuve: Alpine Linux edge package indexes: melange from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#melange
```

  Preuve: nixpkgs package indexes: pkgs/by-name/me/melange/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S melange
```

  Preuve: Arch Linux sync databases: melange from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install melange
```

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

## Faits du paquet

- **Clé du paquet:** brew:melange
- **Gestionnaire de paquets:** Homebrew
- **Version:** 0.56.5
- **Résumé source:** Build APKs from source code
- **Page d'accueil:** <https://github.com/chainguard-dev/melange>
- **Dépôt:** <https://github.com/chainguard-dev/melange>
- **Dernière mise à jour:** 2026-08-03T03:52:01Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- melange (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 0.56.5
## Historique du projet et usages

melange is Chainguard's declarative build tool for producing APK packages from source. The README describes it as a pipeline-oriented APK builder commonly used for packages that feed container images built with apko, especially in the Wolfi and Alpine Linux ecosystems.

### Historique du projet

The project was created for supply-chain-aware package production, where software is built into APK artifacts with controlled pipelines and provenance rather than copied directly into images. The README frames this as part of secure software factories: build and capture software artifacts into packages so images can be assembled from auditable components.

The v0.1.0 release appeared in June 2022. Since then melange has become a core piece of the Chainguard/Wolfi packaging stack, with release automation, multi-architecture support, QEMU-based emulation, pipeline libraries, package signing, and documentation for build files, pipelines, testing, and updates.

### Historique d'adoption

melange's adoption is strongly tied to Wolfi, Chainguard Images, and apko-based image construction. The upstream README says the majority of its APKs are built for the Wolfi or Alpine Linux ecosystems, and the supplied package facts list Homebrew, Alpine, Nix, pacman, and openSUSE packaging.

For teams building minimal container images, melange provides a package-native alternative to ad hoc Dockerfile build steps. That makes it relevant in reproducible-build and SBOM-heavy workflows where APKs are easier to scan, sign, attest, and reuse.

### Modes d'utilisation

A melange build file declares package metadata, build environment contents, pipeline steps, subpackages, and tests. The README shows melange build examples/gnu-hello.yaml and a containerized invocation with cgr.dev/chainguard/melange.

The tool writes architecture-specific APK outputs under a packages directory. It can generate signing keys with melange keygen and accepts --signing-key during builds.

### Pourquoi les passionnés de paquets s'y intéressent

melange is package-nerd catnip because it brings distro-style package recipes into cloud-native image builds. It is small in concept but high leverage: YAML recipes, APK outputs, signing, pipelines, and apko integration let maintainers replace one-off container build scripts with reusable package metadata.

### Chronologie

- 2022-06-02: Release v0.1.0 published.
- 2022 onward: melange used with apko, Wolfi, and Alpine-oriented APK production.
- 2026-06-29: Release v0.55.0 published with ongoing pipeline improvements.

### Related projects

- apko: Chainguard's tool for building OCI images from APK packages.
- Wolfi: the APK-based Linux distribution ecosystem frequently built with melange.
- Alpine Linux: the APK package ecosystem whose package format melange targets.

### Sources

- <https://github.com/chainguard-dev/melange>
- <https://github.com/chainguard-dev/melange/releases/tag/v0.1.0>
- <https://github.com/chainguard-dev/melange/releases/tag/v0.55.0>
- <https://github.com/chainguard-dev/melange/tree/main/docs>
- source_facts.package-manager-url


## Notes de sécurité

Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour melange. Les métadonnées de paquet Nucleus restent publiées ici afin que la couverture future dispose d'une URL stable.



## 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: melange.yaml, melange.yml
## Autres enregistrements de gestionnaires de paquets

- Nix - melange: normalized package name match | nixpkgs package indexes: pkgs/by-name/me/melange/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - melange - 0.56.4-r0: normalized package name match | Alpine Linux edge package indexes: melange from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Build apk packages using declarative pipelines | https://github.com/chainguard-dev/melange
- apk - melange-bash-completion - 0.56.4-r0: normalized package name match | Alpine Linux edge package indexes: melange-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash completions for melange | https://github.com/chainguard-dev/melange
- apk - melange-fish-completion - 0.56.4-r0: normalized package name match | Alpine Linux edge package indexes: melange-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Fish completions for melange | https://github.com/chainguard-dev/melange
- apk - melange-zsh-completion - 0.56.4-r0: normalized package name match | Alpine Linux edge package indexes: melange-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Zsh completions for melange | https://github.com/chainguard-dev/melange
- pacman - melange - 0.52.0-1: normalized package name match | Arch Linux sync databases: melange from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Build APKs from source code | https://github.com/chainguard-dev/melange
- zypper - melange - 0.56.4-1.1: normalized package name match | openSUSE Tumbleweed package metadata: melange from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Build APKs from source code | https://github.com/chainguard-dev/melange
- zypper - melange-bash-completion - 0.56.4-1.1: normalized package name match | openSUSE Tumbleweed package metadata: melange-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash Completion for melange | https://github.com/chainguard-dev/melange
- zypper - melange-fish-completion - 0.56.4-1.1: normalized package name match | openSUSE Tumbleweed package metadata: melange-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fish Completion for melange | https://github.com/chainguard-dev/melange
- zypper - melange-zsh-completion - 0.56.4-1.1: normalized package name match | openSUSE Tumbleweed package metadata: melange-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Zsh Completion for melange | https://github.com/chainguard-dev/melange


## Combined YAML source

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


## Sources

- 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
