librsvg

Install command:
brew install librsvg

Library 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

Depends on:

cairo 1.18.6 Vector graphics library with cross-device output support
fontconfig 2.18.3 XML-based font configuration API for X Windows
gdk-pixbuf 2.44.8 Toolkit for image loading and pixel buffer manipulation
glib 2.90.1 Core application library for C
harfbuzz 15.1.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.26 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.10 Package compiler and linker metadata toolkit
rust 1.99.1 Safe, concurrent, practical language

Uses from macOS: libxml2

Binaries: rsvg-convert

GitHub Packages downloads:

Last 30 days555,230
Downloads22,770,908
Analytics install events (30 days)50,247
Downloads / install events (30 days)11.1×

Source: GitHub Packages, fetched 2026-11-03T00:38:47Z. Analytics dates: 2026-10-04 to 2026-11-03. 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 days90 days365 days
Installs50,224107,006541,380
Installs (--HEAD)2362296
Installs on Request20,78943,850209,369
Installs on Request (--HEAD)2362294
Build Errors34
Build Errors (--HEAD)1