svgo

SVG Optimizer: a Node.js-based tool for optimizing Scalable Vector Graphics files. It applies a series of transformation rules (plugins), which can be toggled individually. More information: <https://github.com/svg/svgo>.

Arch Arch Linux
RUN pacman -S --noconfirm nodejs-svgo
Fedora
RUN dnf install -y nodejs-svgo
click the source code to copy install svgo on any operating system with command-not-found.com