# 使用 Homebrew, Nix 安装 imgproxy

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

## 安装

```sh
sudo av install brew:imgproxy
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install imgproxy
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#imgproxy
```

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

## 软件包事实

- **软件包键:** brew:imgproxy
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/imgproxy>
- **版本:** 4.0.12
- **来源摘要:** Fast and secure server for resizing and converting remote images
- **主页:** <https://imgproxy.net>
- **仓库:** <https://github.com/imgproxy/imgproxy>
- **上游文档:** <https://imgproxy.net>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/imgproxy/imgproxy/archive/refs/tags/v4.0.12.tar.gz>
- **最后更新:** 2026-07-29T23:26:38Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- imgproxy (cli)
- imgproxy (别名)

## 依赖

- gettext
- glib
- vips

## 构建依赖

- go
- pkgconf

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 4.0.12
- 管理器更新时间: 2026-07-29
- 本地数据: OK
- 上游仓库: https://github.com/imgproxy/imgproxy
- 检测到的最新版本: v4.0.12 (当前)
## 项目历史与用法

imgproxy is a Go-based standalone HTTP server for resizing, processing, optimizing, and converting images on the fly. The project presents itself around three principles: speed, security, and simplicity, with libvips as its core image-processing engine.

### 项目历史

The GitHub repository was created on 2017-06-20. The README describes imgproxy as a drop-in replacement for application-side image-processing code: applications generate signed processing URLs, while imgproxy fetches source images, processes them, and serves the result.

The project evolved from a utility server into a broader image-processing product line. Its official documentation covers Docker-based startup, URL processing syntax, security controls, source restrictions, memory tuning, and format support; the README also distinguishes the open-source edition from imgproxy Pro features.

### 采用历史

imgproxy has much broader visible adoption than the small CLI tools in this batch: repository metadata shows roughly 10k GitHub stars, Homebrew publishes a formula, and the official docs and README emphasize Docker and container deployment. The input metadata also records packaging in Nix.

Its adoption story is tied to web infrastructure: image variants, responsive crops, CDN-backed delivery, and moving CPU-heavy transformations out of application servers. The README thanks Evil Martians as a launch platform and libvips maintainers for image-processing support, reflecting its roots in production web image pipelines.

### 使用方式

The documented usage model is URL-driven. A caller encodes processing options and a source image URL into an imgproxy URL; imgproxy fetches the source, applies resize/crop/format/security rules, and returns the transformed image over HTTP. The getting-started docs recommend Docker for a short path to a running server, while the processing docs describe options such as resize, gravity, DPR, and enlargement.

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

imgproxy is significant because it is not just a CLI binary in Homebrew; it is infrastructure software packaged as a Go executable and container image. For package nerds, it sits at the intersection of formula packaging, container registries, libvips dependency management, and web-performance operations.

### 时间线

- 2017-06-20: GitHub repository created.
- 2025-09-17: v3.30.0 release published.
- 2026-05-13: v4.0.0 release published.
- 2026: Documentation for the 4.0.x line describes Docker startup, URL processing, and security guidance.

### Related projects

- imgproxy is closely related to libvips, which the README identifies as its image-processing engine. The imgproxy organization also maintains helper projects such as imgproxy-node and imgproxy-rails for integrating signed URLs and processing flows into applications.

### 来源

- <https://docs.imgproxy.net/>
- <https://docs.imgproxy.net/getting_started>
- <https://docs.imgproxy.net/usage/processing>
- <https://formulae.brew.sh/formula/imgproxy>
- <https://github.com/imgproxy/imgproxy>


## 安全说明

没有找到 imgproxy 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** imgproxy
- **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 - imgproxy: normalized package name match | nixpkgs package indexes: pkgs/by-name/im/imgproxy/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter 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.
- [glib](https://pkg.so/zh-hans/brew/glib/) - Runtime dependency declared by Homebrew.
- [gettext](https://pkg.so/zh-hans/brew/gettext/) - Runtime dependency declared by Homebrew.
- [vips](https://pkg.so/zh-hans/brew/vips/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [imgdiet](https://pkg.so/zh-hans/brew/imgdiet/) - Shares pkgdb curated category or tags: cli, go, image-resizing, media.
- [imagemagick](https://pkg.so/zh-hans/brew/imagemagick/) - Shares pkgdb curated category or tags: cli, image-conversion, media.
- [netpbm](https://pkg.so/zh-hans/brew/netpbm/) - Shares pkgdb curated category or tags: cli, image-conversion, media.
- [graphicsmagick](https://pkg.so/zh-hans/brew/graphicsmagick/) - Shares pkgdb curated category or tags: cli, image-conversion, media.
- [img2pdf](https://pkg.so/zh-hans/brew/img2pdf/) - Shares pkgdb curated category or tags: cli, image-conversion, media.
- [imagemagick@6](https://pkg.so/zh-hans/brew/imagemagick-6/) - Shares pkgdb curated category or tags: cli, image-conversion, media.
- [mpd](https://pkg.so/zh-hans/brew/mpd/) - Shares pkgdb curated category or tags: cli, media, server.
- [pngpaste](https://pkg.so/zh-hans/brew/pngpaste/) - Shares pkgdb curated category or tags: cli, image-conversion, media.
- [autotrace](https://pkg.so/zh-hans/brew/autotrace/) - Both packages work with overlapping file formats or content types. Shared terms: cli, conversion, gettext, glib, image.
- [imagemagick-full](https://pkg.so/zh-hans/brew/imagemagick-full/) - Both packages work with overlapping file formats or content types. Shared terms: cli, conversion, gettext, glib, image.
- [chafa](https://pkg.so/zh-hans/brew/chafa/) - Both packages work with overlapping file formats or content types. Shared terms: cli, fast, gettext, glib, image.

## Combined YAML source

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


## 来源

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