# Install create-dmg with Homebrew, MacPorts, Nix

Shell script to build fancy DMGs. Version 1.3.0 via Homebrew; verified 2026-07-02.

## Install

```sh
sudo av install brew:create-dmg
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install create-dmg
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install create-dmg
```

  Evidence: MacPorts ports tree: sysutils/create-dmg/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#create-dmg
```

  Evidence: nixpkgs package indexes: pkgs/by-name/cr/create-dmg/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:create-dmg
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/create-dmg>
- **Version:** 1.3.0
- **Source summary:** Shell script to build fancy DMGs
- **Homepage:** <https://github.com/create-dmg/create-dmg>
- **Repository:** <https://github.com/create-dmg/create-dmg>
- **Upstream docs:** <https://github.com/create-dmg/create-dmg#readme>
- **License:** MIT
- **Source archive:** <https://github.com/create-dmg/create-dmg/archive/refs/tags/v1.3.0.tar.gz>
- **Last updated:** 2026-07-02T12:12:51Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- create-dmg (cli)
- create-dmg (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.3.0
- Package-manager updated: 2026-07-02
- Local data: ok
- Upstream repository: https://github.com/create-dmg/create-dmg
- Upstream latest detected: v1.3.0 (current)
## Project history and usage

create-dmg is a macOS command-line packaging helper for producing polished disk images from a source folder. It wraps standard macOS disk-image tooling with options for Finder window layout, icons, background images, Applications drop links, encryption, signing, and notarization.

### Project history

The project README credits Andrey Tarantsov as the original creator and says Andrew Janke helped substantially with the project in May 2020. The project is maintained as a shell script in a public GitHub repository under the create-dmg organization.

### Adoption history

The README documents Homebrew installation as the first installation path, followed by release downloads and cloning the repository. That distribution style made create-dmg convenient for macOS developers who wanted repeatable DMG creation in release scripts without maintaining their own AppleScript and hdiutil wrappers.

### How it is used

The normal workflow is to run create-dmg with an output .dmg name and a source folder, then pass options for volume name, icon placement, background art, filesystem format, encryption, codesigning, notarization, and related macOS packaging details.

### Why package nerds care

For package maintainers, create-dmg matters because DMG layout is a macOS distribution detail that is easy to get wrong and awkward to reproduce. The tool packages common release-engineering conventions into one script that Homebrew, MacPorts, and Nix can expose as a small CLI dependency.

### Timeline

- Original project: Created by Andrey Tarantsov
- 2020-05: README notes substantial help from Andrew Janke
- README: Documents Homebrew installation and release-download installation

### Related projects

- The README lists node-appdmg and dmgbuild as alternatives for building macOS disk images.

### Sources

- <https://github.com/create-dmg/create-dmg#readme>


## Security Notes

generalized runtime or code generation signal.

- **Geiger risk:** yellow / medium
- generalized runtime or code generation signal

## Source Database Details

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

## Other Package-Manager Records

- Nix - create-dmg: normalized package name match | nixpkgs package indexes: pkgs/by-name/cr/create-dmg/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - create-dmg: normalized package name match | MacPorts ports tree: sysutils/create-dmg/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Package publisher tools](https://www.automicvault.com/pkg/package-publishers/) - Belongs to a package publishing or registry command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [abi3audit](https://www.automicvault.com/pkg/brew/abi3audit/) - Shares av.db curated category or tags: cli, developer-tools, packaging.
- [cargo-bundle](https://www.automicvault.com/pkg/brew/cargo-bundle/) - Shares av.db curated category or tags: cli, developer-tools, packaging.
- [charmcraft](https://www.automicvault.com/pkg/brew/charmcraft/) - Shares av.db curated category or tags: cli, developer-tools, packaging.
- [dylibbundler](https://www.automicvault.com/pkg/brew/dylibbundler/) - Shares av.db curated category or tags: cli, developer-tools, macos, packaging.
- [flit](https://www.automicvault.com/pkg/brew/flit/) - Shares av.db curated category or tags: cli, developer-tools, packaging.
- [hpack](https://www.automicvault.com/pkg/brew/hpack/) - Shares av.db curated category or tags: cli, developer-tools, packaging.
- [makepkg](https://www.automicvault.com/pkg/brew/makepkg/) - Shares av.db curated category or tags: cli, developer-tools, packaging.
- [makeself](https://www.automicvault.com/pkg/brew/makeself/) - Shares av.db curated category or tags: cli, developer-tools, packaging, shell.
- [create-api](https://www.automicvault.com/pkg/brew/create-api/) - Package names and metadata indicate a similar tool family. Shared terms: cli, create, developer, developer-tools.
- [melange](https://www.automicvault.com/pkg/brew/melange/) - Local metadata places this package in an adjacent workflow. Shared terms: build, cli, developer, developer-tools, packaging.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- 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
