librsvg
brew install librsvgLibrary to render SVG files using Cairo
https://wiki.gnome.org/Projects/LibRsvg
License: LGPL-2.1-or-later
Development: Pull requests
Formula JSON API: /api/formula/librsvg.json
Formula code: librsvg.rb on GitHub
Bottle (binary package) installation support provided for:
| macOS on Apple Silicon |
golden gate | ✅ |
|---|---|---|
| tahoe | ✅ | |
| sequoia | ✅ | |
| Linux | ARM64 | ✅ |
| x86_64 | ✅ |
Current versions:
| stable | ✅ | 2.63.4 |
| head | ⚡️ | HEAD |
Revision: 1
Depends on:
| cairo | 1.18.6 | Vector graphics library with cross-device output support |
| fontconfig | 2.18.4 | XML-based font configuration API for X Windows |
| gdk-pixbuf | 2.44.8 | Toolkit for image loading and pixel buffer manipulation |
| glib | 2.90.2 | Core application library for C |
| harfbuzz | 15.2.0 | OpenType text shaping engine |
| pango | 1.58.2 | Framework for layout and rendering of i18n text |
| freetype | 2.15.0 | Software library to render fonts |
| gettext | 1.0 | GNU internationalization (i18n) and localization (l10n) library |
| libpng | 1.6.59 | Library for manipulating PNG images |
Depends on when building from source:
| cargo-c | 0.10.28 | Helper program to build and install c-like libraries |
| gobject-introspection | 1.86.0 | Generate introspection data for GObject libraries |
| meson | 1.12.1 | Fast and user friendly build system |
| ninja | 1.13.2 | Small build system for use with gyp or CMake |
| pkgconf | 3.0.11 | Package compiler and linker metadata toolkit |
| rust | 1.100.0 | Safe, concurrent, practical language |
Uses from macOS: libxml2
Binaries:
rsvg-convert
GitHub Packages downloads:
| Last 30 days | 511,492 |
|---|---|
| Downloads | 23,213,917 |
| Analytics install events (30 days) | 47,588 |
| Downloads / install events (30 days) | 10.8× |
Source: GitHub Packages, fetched 2026-11-26T00:53:39Z. Analytics dates: 2026-10-27 to 2026-11-26. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.
Analytics:
| 30 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 47,561 | 120,194 | 528,880 |
Installs (--HEAD) | 27 | 66 | 289 |
| Installs on Request | 20,261 | 50,031 | 204,842 |
Installs on Request (--HEAD) | 27 | 66 | 287 |
| Build Errors | 31 |