macOS
brew install svgolocal Homebrew formula metadata
安装
brew install svgolocal Homebrew formula metadata
nix profile install nixpkgs#svgonixpkgs package indexes · pkgs/by-name/sv/svgo/package.nix · 来源: api.github.com
sudo pacman -S svgoArch Linux sync databases · svgo · 来源: geo.mirror.pkgbuild.com
概览
Nodejs-based tool for optimizing SVG vector graphics files
历史
SVGO is a Node.js library and command-line application for optimizing SVG files. In package-manager culture it sits in the familiar slot of a small, scriptable asset-optimization binary: install it globally or as a project dependency, point it at SVG files or directories, and let build tooling call the same optimizer.
The upstream repository describes SVGO as short for SVG Optimizer and says it removes redundant information such as editor metadata, comments, hidden elements, and default or suboptimal SVG values without changing rendering. GitHub repository metadata records the svg/svgo repository as created on 2012-08-22, and the GitHub releases API shows early public releases by 2013.
SVGO became widely packaged because SVG minification is useful both as a standalone CLI workflow and inside JavaScript asset pipelines. The official usage page lists a command-line application, Node.js library, browser bundle, and webpack loader as supported interfaces, and it points to community integrations such as SVGR, grunt-svgmin, postcss-svgo, and SVGOMG.
The common CLI usage is to run `svgo` on one or more SVG files, process folders recursively, or provide a `svgo.config.mjs` file to tune plugin behavior. The README also shows npm, yarn, and pnpm global installation commands, matching the way many frontend developers treat image optimizers as repeatable project tooling.
Package maintainers care about SVGO because it is both a user-facing executable and a library used by other tools. Its plugin architecture, JavaScript configuration file, and many downstream wrappers make versioning behavior visible in build outputs, so packaging it consistently matters for reproducible web assets.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
svgo.config.mjs可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
svgo | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:svgo |
|---|---|
| 版本 | 4.0.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/svgo |
| 主页 | https://svgo.dev/ |
| 仓库 | https://github.com/svg/svgo |
| 上游文档 | https://svgo.dev/docs |
| 许可证 | MIT |
| 源码归档 | https://github.com/svg/svgo/archive/refs/tags/v4.0.1.tar.gz |
| 依赖 | node |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | svgo |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
svgo
nix profile install nixpkgs#svgosvgo 4.0.1-1
Tool for optimizing SVG files
sudo pacman -S svgo来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.