# Install svgo with npm

SVGO is a Node.js library and command-line application for optimizing vector images. Version 4.0.1 via npm; verified 2026-03-04.

## Install

```sh
sudo av install npm:svgo
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g svgo
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:svgo
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/svgo>
- **Version:** 4.0.1
- **Source summary:** SVGO is a Node.js library and command-line application for optimizing vector images.
- **Homepage:** <https://svgo.dev>
- **Repository:** <https://github.com/svg/svgo>
- **Upstream docs:** <https://svgo.dev>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/svgo/-/svgo-4.0.1.tgz>
- **Issue tracker:** <https://github.com/svg/svgo/issues>
- **Published:** 2026-03-04T14:41:34.341Z
- **Last updated:** 2026-03-04T14:41:34.341Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- svgo (cli)

## Dependencies

- commander
- css-select
- css-tree
- css-what
- csso
- picocolors
- sax

## Build dependencies

- @eslint/js
- @jest/globals
- @rollup/plugin-commonjs
- @rollup/plugin-node-resolve
- @rollup/plugin-terser
- @types/css-tree
- @types/csso
- @types/jest
- @types/node
- @types/pngjs
- @types/sax
- @types/tar-stream
- cross-env
- cspell
- eslint
- globals
- jest
- pixelmatch
- playwright
- pngjs
- prettier
- rimraf
- rollup
- tar-stream
- tsd
- typescript

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 4.0.1
- Package-manager updated: 2026-03-04
- Local data: ok
- Upstream repository: https://github.com/svg/svgo
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for svgo. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 4.0.1, Rc: 4.0.0-rc.5, V2: 2.8.2, V3: 3.3.3
- **Version Count:** 113
- **Maintainers:** deepsweet, greli, sethiii, trysound
- **Author:** Kir Belevich
- **Publisher:** sethiii
- **Engines:** Node: >=16
- **Funding:** <https://opencollective.com/svgo>
- **Integrity:** sha512-XDpWUOPC6FEibaLzjfe0ucaV0YrOjYotGJO1WpF0Zd+n6ZGEQUsSugaoLq9QkEZtAfQIxT42UChcssDVPP3+/w==
- **Shasum:** c82dacd04ee9f1d55cd4e0b7f9a214c86670e3ee
- **Unpacked Size:** 1,451,473
- **File Count:** 0
- **Created At:** 2012-09-27T11:15:51.133Z
- **Latest Published At:** 2026-03-04T14:41:34.341Z
- **Modified At:** 2026-03-04T15:14:42.003Z

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

- [Media and graphics packages](https://www.automicvault.com/pkg/media-graphics-tools/) - Matched curated package taxonomy and local package facts.
- [svgo](https://www.automicvault.com/pkg/brew/svgo/) - Same normalized package name appears in another local ecosystem. Shared terms: cli, graphics, media, node, nodejs.
- [svgo-browser](https://www.automicvault.com/pkg/npm/svgo-browser/) - Executable or command metadata overlaps with this package. Shared terms: cli, css, css-select, css-tree, csso.
- [svg-sprite](https://www.automicvault.com/pkg/npm/svg-sprite/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, css, csso, graphics, javascript.
- [svgo](https://www.automicvault.com/pkg/brew/svgo/) - Same normalized package name exists in another local package ecosystem.

## Sources

- 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
