cairo
brew install cairo
v1.18.4
LGPL-2.1-only OR MPL-1.1
C library for 2D vector graphics rendering with support for multiple output backends (PDF, PostScript, PNG, X11).
Why you might care
Cairo is a foundational graphics library used by countless desktop and plotting applications (GNOME, GTK, matplotlib). You'll install it as a dependency of other tools, but it's also useful if you're building custom visualization or drawing utilities. Supports device-independent rendering—write once, output to screen, file, or print.
80.5k
30-day installs · #57
256.7k
90-day · #62
977.9k
365-day · #52
Runtime dependencies
Build dependencies
Links
- https://cairographics.org/
- Brew formula source: Formula/c/cairo.rb
Blurb generated by claude-haiku-4-5 on today.
Raw metadata
{
"aliases": [],
"alternatives": [
"skia",
"AGG",
"Qt Graphics",
"OpenGL"
],
"build_dependencies": [
"meson",
"ninja",
"pkgconf"
],
"categories": [
"library",
"graphics"
],
"caveats": null,
"conflicts_with": [],
"dependencies": [
"fontconfig",
"freetype",
"glib",
"libpng",
"libx11",
"libxcb",
"libxext",
"libxrender",
"lzo",
"pixman",
"gettext"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Vector graphics library with cross-device output support",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:36:05+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "cairo",
"github_default_branch": null,
"github_last_commit_at": null,
"github_readme_excerpt": null,
"github_repo": null,
"github_stars": null,
"github_topics": [],
"homepage": "https://cairographics.org/",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": "cairographics.org",
"installs_30d": 80452,
"installs_365d": 977904,
"installs_90d": 256735,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "LGPL-2.1-only OR MPL-1.1",
"llm_generated_at": "2026-06-20T23:42:25+00:00",
"llm_model": "claude-haiku-4-5",
"name": "cairo",
"oldnames": [],
"one_liner": "C library for 2D vector graphics rendering with support for multiple output backends (PDF, PostScript, PNG, X11).",
"optional_dependencies": [],
"rank_30d": 57,
"rank_365d": 52,
"rank_90d": 62,
"raw_hash": "3fe519df356c4623",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/c/cairo.rb",
"tap": "homebrew/core",
"test_dependencies": [
"pkgconf"
],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "1.18.4",
"versioned_formulae": [],
"why_use_this": "Cairo is a foundational graphics library used by countless desktop and plotting applications (GNOME, GTK, matplotlib). You\u0027ll install it as a dependency of other tools, but it\u0027s also useful if you\u0027re building custom visualization or drawing utilities. Supports device-independent rendering\u2014write once, output to screen, file, or print."
}