AptLynx

Command-line tool

svgo

brew/svgo

Checked 26 Oct 2026, 08:31 UTC · Still published on npm

Nodejs-based tool for optimizing SVG vector graphics files svgo svg optimize minify

At a glance

Type
Command-line tool
Install on
Windows, macOS, Linux
Last checked
26 Oct 2026, 08:31 UTC

Install it

Windows

npm install -g svgo

macOS

brew install svgo
npm install -g svgo

Linux

npm install -g svgo

Optimize a file using the default plugins (overwrites the original file)

svgo test.svg

Optimize a file and save the result to another file

svgo test.svg -o test.min.svg

Optimize all SVG files within a directory (overwrites the original files)

svgo -f path/to/directory_with_svg_files

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents