Optimize all SVG files inside the folder using SVGO algorithms
- Download ZIP and unzip it somewhere into your PC, eg. to
C:/Program Files/
- Start CMD inside this folder and run
npm i
to install all dependencies - Then run
npm link
, so you can usesvgx
command anywhere - Then you can visit any folder containing SVG files and just run
svgx
in CMD in this folder and it will optimize all SVGs inside this folder - To optimize all SVGs also inside subfolders use
svgx -r
You can edit SVGO settings inside index.js file just edit plugins: [...]
like you want