# 使用 npm 安装 optipng-bin

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

## 安装

```sh
sudo av install npm:optipng-bin
```

其他安装命令:

### 便携式和语言管理器

- npm (100%):

```sh
npm install -g optipng-bin
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:optipng-bin
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/optipng-bin>
- **版本:** 9.0.0
- **来源摘要:** OptiPNG wrapper that makes it seamlessly available as a local dependency
- **主页:** <https://github.com/imagemin/optipng-bin#readme>
- **仓库:** <https://github.com/imagemin/optipng-bin>
- **上游文档:** <https://github.com/imagemin/optipng-bin#readme>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/optipng-bin/-/optipng-bin-9.0.0.tgz>
- **问题跟踪器:** <https://github.com/imagemin/optipng-bin/issues>
- **发布时间:** 2022-05-04T13:02:39.464Z
- **最后更新:** 2022-05-04T13:02:39.464Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- optipng (cli)

## 依赖

- bin-build
- bin-wrapper

## 构建依赖

- ava
- bin-check
- compare-size
- execa
- tempy
- xo

## 安装行为

- post-install 钩子: 已定义
- npm 生命周期脚本: postinstall
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 9.0.0
- 管理器更新时间: 2022-05-04
- 本地数据: OK
- 上游仓库: https://github.com/imagemin/optipng-bin
- 警告: The package-manager record has not been updated in over a year.
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 9.0.0
- **Version Count:** 50
- **Maintainers:** sindresorhus
- **Publisher:** 1000ch
- **Engines:** Node: ^14.13.1 || >=16.0.0
- **Integrity:** sha512-uDcmcNK4MRSM5ezLThUPI7fc9ZxlQMqnxhWxIc7foCcUZZ2LvzbcJwwVEsU78tC3t9B68dwE4y/m6at10Z93UA==
- **Shasum:** 4a27b6c265003ece4ab5b852424c06269fc7e817
- **Unpacked Size:** 2,334,239
- **File Count:** 0
- **Created At:** 2012-12-06T20:43:44.342Z
- **Latest Published At:** 2022-05-04T13:02:39.464Z
- **Modified At:** 2024-09-09T14:25:49.328Z

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

- MacPorts - optipng: installed executable or alias match | MacPorts ports tree: graphics/optipng/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - optipng - 0.7.8+ds-1+b1: installed executable or alias match | Debian stable package indexes: optipng from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | advanced PNG (Portable Network Graphics) optimizer | https://optipng.sourceforge.net/
- Nix - optipng: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/op/optipng/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - optipng - 0.7.8+ds-1build2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: optipng from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | advanced PNG (Portable Network Graphics) optimizer | https://optipng.sourceforge.net/
- apk - optipng - 7.9.1-r1: installed executable or alias match | Alpine Linux edge package indexes: optipng from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Compresses PNG files to a smaller size, without losing any information. | https://optipng.sourceforge.net/
- apk - optipng-doc - 7.9.1-r1: installed executable or alias match | Alpine Linux edge package indexes: optipng-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Compresses PNG files to a smaller size, without losing any information. (documentation) | https://optipng.sourceforge.net/
- dnf - optipng - 7.9.1-3.fc44: installed executable or alias match | Fedora Rawhide package metadata: optipng from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | PNG optimizer and converter | http://optipng.sourceforge.net/
- pacman - optipng - 7.9.1-1: installed executable or alias match | Arch Linux sync databases: optipng from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Compresses PNG files to a smaller size, without losing any information. | http://optipng.sourceforge.net/
- zypper - optipng - 7.9.1-1.4: installed executable or alias match | openSUSE Tumbleweed package metadata: optipng from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A PNG File Compressor | https://optipng.sourceforge.net/
- Chocolatey - OptiPNG: installed executable or alias match | Chocolatey community package catalog: OptiPNG from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','openssh'
- Scoop - main/optipng: installed executable or alias match | Scoop official bucket manifest trees: bucket/optipng.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - OptiPNG.OptiPNG: installed executable or alias match | Windows Package Manager source index: OptiPNG.OptiPNG from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Media and graphics packages](https://www.automicvault.com/zh-hans/pkg/media-graphics-tools/) - Matched curated package taxonomy and local package facts.
- [pngquant-bin](https://www.automicvault.com/zh-hans/pkg/npm/pngquant-bin/) - Both packages work with overlapping file formats or content types. Shared terms: as, available, bin, bin-build, bin-wrapper.
- [pngout-bin](https://www.automicvault.com/zh-hans/pkg/npm/pngout-bin/) - Both packages work with overlapping file formats or content types. Shared terms: as, available, bin, bin-wrapper, cli.
- [mozjpeg](https://www.automicvault.com/zh-hans/pkg/npm/mozjpeg/) - Both packages work with overlapping file formats or content types. Shared terms: as, available, bin, bin-build, bin-wrapper.

## 来源

- Nucleus package database
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
