1
0
mirror of https://github.com/svg/svgo.git synced 2026-01-27 07:02:06 +03:00
Files
svgo/docs/01-index.mdx
2025-05-05 17:27:55 +01:00

39 lines
798 B
Plaintext

---
title: Introduction
slug: 'introduction'
---
SVGO (short for SVG Optimizer) is a Node.js library and command-line application for optimizing SVG files.
SVG files, especially those exported from vector editors, usually contain a lot of redundant information. This includes editor metadata, comments, hidden elements, default or suboptimal values, and other stuff that can be safely removed or converted without affecting the rendering result.
## Installation
### System Requirements
- [Node.js >=16](https://nodejs.org/)
<Tabs>
<TabItem value="npm" label="npm" default>
```sh
npm install -g svgo
```
</TabItem>
<TabItem value="yarn" label="Yarn">
```sh
yarn global add svgo
```
</TabItem>
<TabItem value="pnpm" label="pnpm">
```sh
pnpm add -g svgo
```
</TabItem>
</Tabs>