# Installer svgo avec Homebrew, Nix, pacman

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de svgo pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install svgo
```

  Preuve: local Homebrew formula metadata

### Linux

- Nix (92%):

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

  Preuve: 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
```

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

## Faits du paquet

- **Clé du paquet:** brew:svgo
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/svgo>
- **Version:** 4.0.2
- **Résumé source:** Nodejs-based tool for optimizing SVG vector graphics files
- **Page d'accueil:** <https://svgo.dev/>
- **Dépôt:** <https://github.com/svg/svgo>
- **Docs amont:** <https://svgo.dev/>
- **Licence:** MIT
- **Archive source:** <https://github.com/svg/svgo/archive/refs/tags/v4.0.2.tar.gz>
- **Dernière mise à jour:** 2026-07-11T21:39:22Z
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- svgo (cli)
- svgo (alias)

## Dépendances

- node

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur all

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 4.0.2
- gestionnaire mis à jour: 2026-07-11
- données locales: OK
- dépôt amont: https://github.com/svg/svgo
- dernière version détectée: v4.0.2 (à jour)
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 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


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- 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
## Détails de la base source

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

## Autres enregistrements de gestionnaires de paquets

- 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.2-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


## Liens liés

- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/fr/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/fr/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://pkg.so/fr/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [node](https://pkg.so/fr/brew/node/) - Runtime dependency declared by Homebrew.
- [resvg](https://pkg.so/fr/brew/resvg/) - Shares pkgdb curated category or tags: cli, graphics, media, svg.
- [dicebear](https://pkg.so/fr/brew/dicebear/) - Shares pkgdb curated category or tags: cli, graphics, media, svg.
- [libemf2svg](https://pkg.so/fr/brew/libemf2svg/) - Shares pkgdb curated category or tags: cli, graphics, media, svg.
- [batik](https://pkg.so/fr/brew/batik/) - Shares pkgdb curated category or tags: cli, graphics, media, svg.
- [svg2pdf](https://pkg.so/fr/brew/svg2pdf/) - Shares pkgdb curated category or tags: cli, graphics, media, svg.
- [scour](https://pkg.so/fr/brew/scour/) - Shares pkgdb curated category or tags: cli, media, optimizer, svg.
- [freetype](https://pkg.so/fr/brew/freetype/) - Shares pkgdb curated category or tags: cli, graphics, media.
- [little-cms2](https://pkg.so/fr/brew/little-cms2/) - Shares pkgdb curated category or tags: cli, graphics, media.
- [svgo](https://pkg.so/fr/npm/svgo/) - Same normalized package name appears in another local ecosystem. Shared terms: cli, graphics, media, node, nodejs.
- [svgo-browser](https://pkg.so/fr/npm/svgo-browser/) - Executable or command metadata overlaps with this package. Shared terms: cli, graphics, media, node, nodejs.
- [svg-sprite](https://pkg.so/fr/npm/svg-sprite/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, files, graphics, media, node.
- [svgo](https://pkg.so/fr/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/mxcl/pkgdb/blob/main/combined/svgo.yml)


## Sources

- 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
