# Install imagemagick with Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, scoop, zypper, winget

Tools and libraries to manipulate images in select formats. Version 7.1.2-27 via Homebrew; verified 2026-07-06.

## Install

```sh
sudo av install brew:imagemagick
```

## Agent safety answer

imagemagick processes image files and can read or overwrite local artifacts.

- **Credential access:** Can read images, metadata, and paths selected by command arguments.
- **Remote mutation:** Primarily local, with possible delegated tools depending on formats.
- **Publish/artifact risk:** Can create or overwrite generated visual artifacts.
- **Recommended control:** Gate broad input globs, overwrites, and processing of sensitive directories.
- **Agent-use guidance:** Allow safe local conversions; require approval for recursive operations or sensitive input paths.

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install imagemagick
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ImageMagick
```

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

### Linux

- apk (92%):

```sh
sudo apk add imagemagick
```

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

- Debian apt (92%):

```sh
sudo apt install imagemagick
```

  Evidence: Debian stable package indexes: imagemagick from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install ImageMagick
```

  Evidence: Fedora Rawhide package metadata: ImageMagick from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#imagemagick
```

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

- pacman (92%):

```sh
sudo pacman -S imagemagick
```

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

- zypper (92%):

```sh
sudo zypper install ImageMagick
```

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

### Windows

- Chocolatey (92%):

```sh
choco install imagemagick
```

  Evidence: Chocolatey community package catalog: imagemagick from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','iis-externalcache'

- Scoop (92%):

```sh
scoop install main/imagemagick
```

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

- winget (92%):

```sh
winget install --id JiriPolasek.DevNumbersforCommandPalette -e
```

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

## Package facts

- **Package key:** brew:imagemagick
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/imagemagick>
- **Version:** 7.1.2-27
- **Source summary:** Tools and libraries to manipulate images in select formats
- **Homepage:** <https://imagemagick.org>
- **Repository:** <https://github.com/ImageMagick/ImageMagick>
- **Upstream docs:** <https://imagemagick.org/command-line-processing>
- **License:** ImageMagick
- **Source archive:** <https://github.com/ImageMagick/ImageMagick/releases/download/7.1.2-27/ImageMagick-7.1.2-27.7z>
- **Last updated:** 2026-07-06T11:06:09Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- Magick++-config (cli)
- MagickCore-config (cli)
- MagickWand-config (cli)
- animate (cli)
- compare (cli)
- composite (cli)
- conjure (cli)
- convert (cli)
- display (cli)
- identify (cli)
- import (cli)
- magick (cli)
- magick-script (cli)
- mogrify (cli)
- montage (cli)
- stream (cli)
- Magick++-config (alias)
- MagickCore-config (alias)
- MagickWand-config (alias)
- animate (alias)
- compare (alias)
- composite (alias)
- conjure (alias)
- convert (alias)
- display (alias)
- identify (alias)
- import (alias)
- magick (alias)
- magick-script (alias)
- mogrify (alias)
- montage (alias)
- stream (alias)

## Dependencies

- freetype
- jpeg-turbo
- libheif
- libpng
- libtiff
- libtool
- little-cms2
- webp
- xz

## Build dependencies

- pkgconf

## Uses from macOS

- bzip2
- libxml2

## Install behavior

- Post-install hook: not defined
- Caveats: imagemagick-full includes additional tools and libraries that are not included in the regular imagemagick formula.
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 7.1.2-27
- Package-manager updated: 2026-07-06
- Local data: ok
- Upstream repository: https://github.com/ImageMagick/ImageMagick
- info: No cached GitHub release or tag data was available.
## Project history and usage

ImageMagick is a long-lived open-source suite for creating, editing, composing, converting, and inspecting raster images from command-line tools and libraries. The Homebrew imagemagick formula tracks the ImageMagick 7 line and is the mainstream package-manager entry for the suite on Homebrew.

### Project history

ImageMagick began at DuPont when John Cristy needed to display 24-bit computer-generated images on monitors that could show only 256 colors. The official history describes Usenet as an early source of algorithms and technical help, and says DuPont transferred copyright so ImageMagick Studio LLC could release the software freely.

After the 1990 comp.archives posting, ImageMagick accumulated enhancements, bug reports, and source contributions. By the mid-1990s, version 4.2.9 had become the culmination of the early toolset and was appearing in the freely distributed Linux ecosystem.

Version 5 emphasized APIs and language/script integration after Bob Friesenhahn pushed for a stronger programming interface and wrote Magick++. Version 6 reorganized command-line handling after Anthony Thyssen highlighted confusion around processing multiple images. Version 7 then used lessons from version 6 to redesign pixel-channel handling around arbitrary colorspaces and floating-point channel values.

### Adoption history

ImageMagick's adoption came from automation: it lets shell scripts, web applications, build systems, scientific workflows, and media pipelines perform image operations without a GUI. The upstream README names web development, graphic design, video editing, scientific research, medical imaging, and astronomy as usage areas.

Package-manager adoption is broad. The input metadata lists Alpine, Homebrew, Chocolatey, Debian, Fedora, MacPorts, Nix, Arch, Scoop, Ubuntu, winget, and openSUSE mappings, and Homebrew analytics show far larger usage for the main imagemagick formula than for the full or versioned variants.

### How it is used

Typical command-line use includes converting formats, resizing, cropping, compositing, comparing images, identifying metadata, creating montages, importing windows, and streaming pixel data. The resources documentation also makes policy.xml and other configuration files central to production use, especially where untrusted images or resource limits matter.

### Why package nerds care

ImageMagick is one of the canonical examples of a package that is both a CLI and a library dependency. Package maintainers care about delegate libraries, codec support, security policy defaults, ABI compatibility, and the version 6 to version 7 command transition because tiny build choices can alter what image formats users can process.

### Timeline

- 1987: John Cristy begins the work at DuPont after a request to display 24-bit images on 256-color monitors.
- 1990: ImageMagick is posted to Usenet's comp.archives group.
- Mid-1990s: ImageMagick 4.2.9 marks the early mature public toolset and appears in the Linux ecosystem.
- Version 5: Magick++, module loading, automatic file identification, and stronger APIs expand the project.
- Version 6: Command-line behavior is redesigned for multi-image processing.
- Version 7: Pixel-channel internals are redesigned for arbitrary colorspaces, arbitrary channels, and floating-point storage.

### Related projects

- Related projects include GraphicsMagick, which originated as an ImageMagick fork, the ImageMagick 6 legacy branch, Magick++, Magick.NET, Fred's ImageMagick Scripts, and Anthony Thyssen's ImageMagick Usage examples.

### Sources

- Official ImageMagick history page, ImageMagick README, command-line tools documentation, resources documentation, GitHub repository metadata, and Homebrew formula metadata.


## Security Notes

doc example: broad image transform tool.

- **Geiger risk:** blue / high
- doc example: broad image transform tool
- **Approval gate rules:** 5


## 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: $MAGICK_CONFIGURE_PATH, $PREFIX/etc/ImageMagick-7, $PREFIX/share/ImageMagick-7, $XDG_CACHE_HOME/ImageMagick, ~/.config/ImageMagick, <client path>/etc/ImageMagick
- Windows: $MAGICK_CONFIGURE_PATH, <windows registry>, $PREFIX/config, $USERPROFILE/.config/ImageMagick, <client path>
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** imagemagick
- **Aliases:** imagemagick@7
- **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

- Debian apt - imagemagick - 8:7.1.1.43+dfsg1-1+deb13u8: normalized package name match | Debian stable package indexes: imagemagick from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | image manipulation programs -- binaries | https://www.imagemagick.org/
- Debian apt - imagemagick-7-common - 8:7.1.1.43+dfsg1-1+deb13u8: normalized package name match | Debian stable package indexes: imagemagick-7-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | image manipulation programs -- infrastructure | https://www.imagemagick.org/
- Debian apt - imagemagick-7-doc - 8:7.1.1.43+dfsg1-1+deb13u8: normalized package name match | Debian stable package indexes: imagemagick-7-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | document files of ImageMagick | https://www.imagemagick.org/
- Debian apt - imagemagick-7.q16 - 8:7.1.1.43+dfsg1-1+deb13u8: normalized package name match | Debian stable package indexes: imagemagick-7.q16 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | image manipulation programs -- quantum depth Q16 | https://www.imagemagick.org/
- Debian apt - imagemagick-7.q16hdri - 8:7.1.1.43+dfsg1-1+deb13u8: normalized package name match | Debian stable package indexes: imagemagick-7.q16hdri from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | image manipulation programs -- quantum depth Q16HDRI | https://www.imagemagick.org/
- Debian apt - libimage-magick-perl - 8:7.1.1.43+dfsg1-1+deb13u8: normalized package name match | Debian stable package indexes: libimage-magick-perl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Perl interface to the ImageMagick graphics routines | https://www.imagemagick.org/
- Debian apt - libimage-magick-q16-perl - 8:7.1.1.43+dfsg1-1+deb13u8: normalized package name match | Debian stable package indexes: libimage-magick-q16-perl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Perl interface to the ImageMagick graphics routines -- Q16 version | https://www.imagemagick.org/
- Debian apt - libimage-magick-q16hdri-perl - 8:7.1.1.43+dfsg1-1+deb13u8: normalized package name match | Debian stable package indexes: libimage-magick-q16hdri-perl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Perl interface to the ImageMagick graphics routines -- Q16HDRI version | https://www.imagemagick.org/
- Debian apt - libmagick++-7-headers - 8:7.1.1.43+dfsg1-1+deb13u8: normalized package name match | Debian stable package indexes: libmagick++-7-headers from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | object-oriented C++ interface to ImageMagick - header files | https://www.imagemagick.org/
- Debian apt - libmagick++-7.q16-5 - 8:7.1.1.43+dfsg1-1+deb13u8: normalized package name match | Debian stable package indexes: libmagick++-7.q16-5 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C++ interface to ImageMagick -- quantum depth Q16 | https://www.imagemagick.org/
- Debian apt - libmagick++-7.q16-dev - 8:7.1.1.43+dfsg1-1+deb13u8: normalized package name match | Debian stable package indexes: libmagick++-7.q16-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C++ interface to ImageMagick - development files (Q16) | https://www.imagemagick.org/
- Debian apt - libmagick++-7.q16hdri-5 - 8:7.1.1.43+dfsg1-1+deb13u8: normalized package name match | Debian stable package indexes: libmagick++-7.q16hdri-5 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C++ interface to ImageMagick -- quantum depth Q16HDRI | https://www.imagemagick.org/
- Debian apt - libmagick++-7.q16hdri-dev - 8:7.1.1.43+dfsg1-1+deb13u8: normalized package name match | Debian stable package indexes: libmagick++-7.q16hdri-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C++ interface to ImageMagick - development files (Q16HDRI) | https://www.imagemagick.org/
- Debian apt - libmagick++-dev - 8:7.1.1.43+dfsg1-1+deb13u8: normalized package name match | Debian stable package indexes: libmagick++-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | object-oriented C++ interface to ImageMagick -- dummy package | https://www.imagemagick.org/
- Debian apt - libmagickcore-7-arch-config - 8:7.1.1.43+dfsg1-1+deb13u8: normalized package name match | Debian stable package indexes: libmagickcore-7-arch-config from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | low-level image manipulation library - architecture header files | https://www.imagemagick.org/
- Debian apt - libmagickcore-7-headers - 8:7.1.1.43+dfsg1-1+deb13u8: normalized package name match | Debian stable package indexes: libmagickcore-7-headers from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | low-level image manipulation library - header files | https://www.imagemagick.org/


## Related links

- [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.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [freetype](https://www.automicvault.com/pkg/brew/freetype/) - Runtime dependency declared by Homebrew.
- [jpeg-turbo](https://www.automicvault.com/pkg/brew/jpeg-turbo/) - Runtime dependency declared by Homebrew.
- [libheif](https://www.automicvault.com/pkg/brew/libheif/) - Runtime dependency declared by Homebrew.
- [libpng](https://www.automicvault.com/pkg/brew/libpng/) - Runtime dependency declared by Homebrew.
- [libtiff](https://www.automicvault.com/pkg/brew/libtiff/) - Runtime dependency declared by Homebrew.
- [libtool](https://www.automicvault.com/pkg/brew/libtool/) - Runtime dependency declared by Homebrew.
- [little-cms2](https://www.automicvault.com/pkg/brew/little-cms2/) - Runtime dependency declared by Homebrew.
- [webp](https://www.automicvault.com/pkg/brew/webp/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [autotrace](https://www.automicvault.com/pkg/brew/autotrace/) - Popular package that depends on this formula.
- [blockhash](https://www.automicvault.com/pkg/brew/blockhash/) - Popular package that depends on this formula.
- [dmtx-utils](https://www.automicvault.com/pkg/brew/dmtx-utils/) - Popular package that depends on this formula.
- [folderify](https://www.automicvault.com/pkg/brew/folderify/) - Popular package that depends on this formula.
- [geeqie](https://www.automicvault.com/pkg/brew/geeqie/) - Popular package that depends on this formula.
- [gifify](https://www.automicvault.com/pkg/brew/gifify/) - Popular package that depends on this formula.
- [lanraragi](https://www.automicvault.com/pkg/brew/lanraragi/) - Popular package that depends on this formula.
- [lsix](https://www.automicvault.com/pkg/brew/lsix/) - Popular package that depends on this formula.
- [imagemagick@6](https://www.automicvault.com/pkg/brew/imagemagick-6/) - Package name indicates the same formula family.
- [imagemagick-full](https://www.automicvault.com/pkg/brew/imagemagick-full/) - Shares the same upstream source repository.
- [babl](https://www.automicvault.com/pkg/brew/babl/) - Shares av.db curated category or tags: cli, graphics, image-processing, library, media.
- [exact-image](https://www.automicvault.com/pkg/brew/exact-image/) - Shares av.db curated category or tags: cli, graphics, image-processing, library, media.
- [gd](https://www.automicvault.com/pkg/brew/gd/) - Shares av.db curated category or tags: cli, graphics, image-processing, library, media.
- [gegl](https://www.automicvault.com/pkg/brew/gegl/) - Shares av.db curated category or tags: cli, graphics, image-processing, library, media.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- approval-gate seed metadata
- 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
- curated agent safety answer
