# Install svgo with Homebrew, Nix, pacman

Nodejs-based tool for optimizing SVG vector graphics files. Version 4.0.1 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:svgo
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install svgo
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#svgo
```

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

- pacman (92%):

```sh
sudo pacman -S svgo
```

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

## Package facts

- **Package key:** brew:svgo
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/svgo>
- **Version:** 4.0.1
- **Source summary:** Nodejs-based tool for optimizing SVG vector graphics files
- **Homepage:** <https://svgo.dev/>
- **Repository:** <https://github.com/svg/svgo>
- **Upstream docs:** <https://svgo.dev/docs>
- **License:** MIT
- **Source archive:** <https://github.com/svg/svgo/archive/refs/tags/v4.0.1.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- svgo (cli)
- svgo (alias)

## Dependencies

- node

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 4.0.1
- Local data: ok
- Upstream repository: https://github.com/svg/svgo
- Upstream latest detected: v4.0.1 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 2012: GitHub repository created for svg/svgo.
- 2013: Early GitHub release v0.3.5 published.
- 2026: Official docs list CLI, Node.js, browser, and webpack interfaces.

### Related projects

- The official usage page names SVGR, grunt-svgmin, postcss-svgo, SVGOMG, Oh My SVG, and SVG Gobbler as integrations or frontends around SVGO.

### Sources

- <https://api.github.com/repos/svg/svgo>
- <https://api.github.com/repos/svg/svgo/releases?per_page=100>
- <https://github.com/svg/svgo>
- <https://svgo.dev/docs/usage/>
- source_facts.package-manager


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- 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: svgo.config.mjs
## Source Database Details

- **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:** stable

## Other Package-Manager Records

- Nix - svgo: normalized package name match | nixpkgs package indexes: pkgs/by-name/sv/svgo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - svgo - 4.0.1-1: normalized package name match | Arch Linux sync databases: svgo from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Tool for optimizing SVG files | https://github.com/svg/svgo


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter 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.
- [node](https://www.automicvault.com/pkg/brew/node/) - Runtime dependency declared by Homebrew.
- [batik](https://www.automicvault.com/pkg/brew/batik/) - Shares av.db curated category or tags: cli, graphics, media, svg.
- [dicebear](https://www.automicvault.com/pkg/brew/dicebear/) - Shares av.db curated category or tags: cli, graphics, media, svg.
- [libemf2svg](https://www.automicvault.com/pkg/brew/libemf2svg/) - Shares av.db curated category or tags: cli, graphics, media, svg.
- [resvg](https://www.automicvault.com/pkg/brew/resvg/) - Shares av.db curated category or tags: cli, graphics, media, svg.
- [svg2pdf](https://www.automicvault.com/pkg/brew/svg2pdf/) - Shares av.db curated category or tags: cli, graphics, media, svg.
- [aalib](https://www.automicvault.com/pkg/brew/aalib/) - Shares av.db curated category or tags: cli, graphics, media.
- [efl](https://www.automicvault.com/pkg/brew/efl/) - Shares av.db curated category or tags: cli, graphics, media.
- [epstool](https://www.automicvault.com/pkg/brew/epstool/) - Shares av.db curated category or tags: cli, graphics, media.
- [svgo](https://www.automicvault.com/pkg/npm/svgo/) - Same normalized package name appears in another local ecosystem. Shared terms: node, optimizing, svg, svgo, vector.
- [svgo](https://www.automicvault.com/pkg/npm/svgo/) - Same normalized package name in another local ecosystem.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- 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
