# 使用 Homebrew, apk, chocolatey, MacPorts, Nix, zypper, pacman, scoop, winget 安装 exiftool

查看 exiftool 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:exiftool
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install exiftool
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install exiftool
```

  证据: MacPorts ports tree: perl/exiftool/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add exiftool
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#exiftool
```

  证据: nixpkgs package indexes: exiftool from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- zypper (92%):

```sh
sudo zypper install exiftool
```

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

- pacman (92%):

```sh
sudo pacman -S perl-image-exiftool
```

  证据: Arch Linux sync databases: perl-image-exiftool from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Chocolatey (92%):

```sh
choco install exiftool
```

  证据: Chocolatey community package catalog: exiftool from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','everythingpowertoys'

- Scoop (92%):

```sh
scoop install main/exiftool
```

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

- winget (92%):

```sh
winget install --id OliverBetz.ExifTool -e
```

  证据: Windows Package Manager source index: OliverBetz.ExifTool from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:exiftool
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/exiftool>
- **版本:** 13.55
- **来源摘要:** Perl lib for reading and writing EXIF metadata
- **主页:** <https://exiftool.org>
- **上游文档:** <https://exiftool.org>
- **许可证:** Artistic-1.0-Perl OR GPL-1.0-or-later
- **源码归档:** <https://downloads.sourceforge.net/project/exiftool/Image-ExifTool-13.55.tar.gz>
- **最后更新:** 2026-07-22T14:36:59-04:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- exiftool (cli)
- exiftool (别名)

## 构建依赖

- cmake

## macOS 提供的库

- perl

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 13.55
- 管理器更新时间: 2026-07-22
- 本地数据: OK
- 上游仓库: https://exiftool.org
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

ExifTool is Phil Harvey's platform-independent Perl library and command-line application for reading, writing, and editing metadata across a large range of image, audio, video, document, archive, and camera raw formats.

### 项目历史

ExifTool's first public release was version 1.00 on November 19, 2003, extracting metadata from JPEG and GIF images with Canon, FujiFilm, and Pentax maker-note support. Within weeks it added XMP, TIFF, RAW extraction, GPS recognition, thumbnail extraction, and support for more camera makers.

The project grew through constant format work rather than big rewrites. By 2006 it had a standalone Windows executable; by 2008 it had broad XMP and EXIF-writing improvements; by 2023 it celebrated its 20th anniversary while adding newer metadata domains such as C2PA JUMBF and JPH support.

The release stream remains unusually active for a metadata tool. The official history page lists production and development releases, with version 13.59 published on May 27, 2026 and version 13.55 identified as a production release.

### 采用历史

ExifTool is distributed in several forms: source archives, CPAN-oriented Perl module packaging, a Windows executable bundle, and a macOS package that installs the command-line application and libraries under /usr/local/bin. Package managers carry it because scripts, photographers, archivists, forensics workflows, and media pipelines rely on the same executable contract.

Its adoption is reinforced by breadth. The homepage lists support for EXIF, GPS, IPTC, XMP, JFIF, GeoTIFF, ICC profiles, Photoshop IRB, FlashPix, AFCP, ID3, maker notes from many camera vendors, timed video metadata, and tens of thousands of tags.

### 使用方式

Typical use starts with reading tags from files, but ExifTool's real command-line culture is batch work: writing or deleting metadata, copying metadata between files, exporting CSV/JSON/XML, geotagging from track logs, shifting timestamps, extracting previews, validating metadata, and renaming or organizing files from tag expressions.

The application documentation and configuration support make it script-friendly. Users can define custom tags, use config files, process directory trees, format output for other tools, and combine many operations into repeatable media-cleanup or archival workflows.

### 为什么软件包爱好者会关心

ExifTool is the metadata utility people install when the format list or maker-note edge cases matter more than a small dependency graph. It is a package-manager staple because the same command works across Unix, macOS, and Windows, while the upstream project continually tracks new cameras, phones, containers, standards, and malformed real-world files.

For maintainers, ExifTool is also a reminder that metadata tooling ages only if it stops moving. The package stays relevant by shipping frequent tag-table updates, compatibility fixes, security updates, and support for new file types long after the basic EXIF problem looked solved.

### 时间线

- 2003-11-19: ExifTool 1.00 is initially released.
- 2006-11-19: ExifTool 6.57 includes the first standalone Windows executable.
- 2008-11-19: ExifTool 7.53 adds read/write support for EXIF files and block EXIF writing.
- 2023-11-19: ExifTool 12.70 marks the project's 20th anniversary.
- 2026-04-07: ExifTool 13.55 is listed as a production release.
- 2026-05-27: ExifTool 13.59 is released.

### Related projects

- ExifTool overlaps with libexif, Exempi, Image::ExifTool on MetaCPAN, camera maker-note ecosystems, IPTC/XMP standards, and metadata-heavy workflows in photography, digital preservation, and media forensics.

### 来源

- <https://exiftool.org/>
- <https://exiftool.org/exiftool_pod.html>
- <https://exiftool.org/history.html>
- <https://exiftool.org/ancient_history.html>
- <https://exiftool.org/config.html>
- <https://github.com/exiftool/exiftool>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- 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: ~/.ExifTool_config, $EXIFTOOL_HOME/.ExifTool_config, exiftool application directory/.ExifTool_config
- Windows: %HOMEDRIVE%%HOMEPATH%\.ExifTool_config, %EXIFTOOL_HOME%\.ExifTool_config, exiftool application directory\.ExifTool_config
## 源数据库详情

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

## 其他软件包管理器记录

- Nix - exiftool: normalized package name match | nixpkgs package indexes: exiftool from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- apk - exiftool - 13.55-r0: normalized package name match | Alpine Linux edge package indexes: exiftool from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Tool for editing exif metadata in files | https://exiftool.org/
- pacman - perl-image-exiftool - 13.55-1: normalized package name match | Arch Linux sync databases: perl-image-exiftool from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Read and write EXIF information | https://exiftool.org/
- zypper - exiftool - 13.59-1.3: normalized package name match | openSUSE Tumbleweed package metadata: exiftool from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Customisable application to read and write meta information in files | https://www.exiftool.org/index.html
- MacPorts - exiftool: normalized package name match | MacPorts ports tree: perl/exiftool/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - exiftool: normalized package name match | Chocolatey community package catalog: exiftool from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','everythingpowertoys'
- Scoop - main/exiftool: normalized package name match | Scoop official bucket manifest trees: bucket/exiftool.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - OliverBetz.ExifTool: normalized package name match | Windows Package Manager source index: OliverBetz.ExifTool from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://pkg.so/zh-hans/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [cmake](https://pkg.so/zh-hans/brew/cmake/) - Build dependency declared by Homebrew.
- [mat2](https://pkg.so/zh-hans/brew/mat2/) - Popular package that depends on this formula.
- [nuxeo](https://pkg.so/zh-hans/brew/nuxeo/) - Popular package that depends on this formula.
- [fits](https://pkg.so/zh-hans/brew/fits/) - Popular package that depends on this formula.
- [rawtoaces](https://pkg.so/zh-hans/brew/rawtoaces/) - Popular package that depends on this formula.
- [exif](https://pkg.so/zh-hans/brew/exif/) - Shares pkgdb curated category or tags: cli, exif, image-metadata, media, metadata.
- [exiv2](https://pkg.so/zh-hans/brew/exiv2/) - Shares pkgdb curated category or tags: cli, exif, media, metadata.
- [exempi](https://pkg.so/zh-hans/brew/exempi/) - Shares pkgdb curated category or tags: cli, image-metadata, media, metadata.
- [libiptcdata](https://pkg.so/zh-hans/brew/libiptcdata/) - Shares pkgdb curated category or tags: cli, image-metadata, media, metadata.
- [exiftran](https://pkg.so/zh-hans/brew/exiftran/) - Shares pkgdb curated category or tags: cli, exif, media, metadata.
- [exiftags](https://pkg.so/zh-hans/brew/exiftags/) - Shares pkgdb curated category or tags: cli, exif, media, metadata.
- [media-info](https://pkg.so/zh-hans/brew/media-info/) - Shares pkgdb curated category or tags: cli, media, metadata.
- [atomicparsley](https://pkg.so/zh-hans/brew/atomicparsley/) - Shares pkgdb curated category or tags: cli, media, metadata.
- [exiftool-vendored.pl](https://pkg.so/zh-hans/npm/exiftool-vendored-pl/) - Executable or command metadata overlaps with this package. Shared terms: cli, exif, exiftool, media, metadata.

## Combined YAML source

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


## 来源

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