macOS
brew install melangelocal Homebrew formula metadata
brew
Build APKs from source code. Version 0.56.1 via Homebrew; verified 2026-07-06.
install
brew install melangelocal Homebrew formula metadata
sudo apk add melangeAlpine Linux edge package indexes · melange · source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#melangenixpkgs package indexes · pkgs/by-name/me/melange/package.nix · source: api.github.com
sudo pacman -S melangeArch Linux sync databases · melange · source: geo.mirror.pkgbuild.com
sudo zypper install melangeopenSUSE Tumbleweed package metadata · melange · source: download.opensuse.org
overview
Build APKs from source code
history
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.
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.
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.
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.
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.
security posture
No matching local secret-handling manifest was found for melange. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
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.
Config paths the tool may read or write during local use.
melange.yamlmelange.ymlexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
melange | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/chainguard-dev/melange
install metadata
| Package key | brew:melange |
|---|---|
| Version | 0.56.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/melange |
| Homepage | https://github.com/chainguard-dev/melange |
| Repository | https://github.com/chainguard-dev/melange |
| Upstream docs | https://github.com/chainguard-dev/melange |
| License | Apache-2.0 |
| Source archive | https://github.com/chainguard-dev/melange/archive/refs/tags/v0.56.1.tar.gz |
| Last updated | 2026-07-06T04:50:02Z |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | melange |
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
melange
nix profile install nixpkgs#melangemelange 0.52.1-r0
Build apk packages using declarative pipelines
https://github.com/chainguard-dev/melange
sudo apk add melangemelange-bash-completion 0.52.1-r0
Bash completions for melange
https://github.com/chainguard-dev/melange
sudo apk add melange-bash-completionmelange-fish-completion 0.52.1-r0
Fish completions for melange
https://github.com/chainguard-dev/melange
sudo apk add melange-fish-completionmelange-zsh-completion 0.52.1-r0
Zsh completions for melange
https://github.com/chainguard-dev/melange
sudo apk add melange-zsh-completionmelange 0.52.0-1
Build APKs from source code
https://github.com/chainguard-dev/melange
sudo pacman -S melangemelange 0.52.1-1.1
Build APKs from source code
https://github.com/chainguard-dev/melange
sudo zypper install melangemelange-bash-completion 0.52.1-1.1
Bash Completion for melange
https://github.com/chainguard-dev/melange
sudo zypper install melange-bash-completionmelange-fish-completion 0.52.1-1.1
Fish Completion for melange
https://github.com/chainguard-dev/melange
sudo zypper install melange-fish-completionmelange-zsh-completion 0.52.1-1.1
Zsh Completion for melange
https://github.com/chainguard-dev/melange
sudo zypper install melange-zsh-completionsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.