🍺 BREW Explorer

← all formulae

gtk4

brew install gtk4 v4.22.4 LGPL-2.1-or-later

Cross-platform C widget toolkit for building native-looking graphical user interfaces.

Why you might care

GTK4 is a mature, portable GUI toolkit widely used in GNOME and other Linux desktop environments. It's the dependency-of-choice for C/C++ applications needing native theming and accessibility support across X11, Wayland, and macOS. Primary use is as a build/runtime dependency for applications like GIMP, Inkscape, and Evolution.

Categories

Alternatives

Qt wxWidgets Tk
4.8k
30-day installs · #618
23.7k
90-day · #461
98.4k
365-day · #423

Runtime dependencies

Build dependencies

Links

Blurb generated by claude-haiku-4-5 on 2mo ago.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "Qt",
    "wxWidgets",
    "Tk"
  ],
  "build_dependencies": [
    "dart-sass",
    "docbook",
    "docbook-xsl",
    "docutils",
    "gettext",
    "gobject-introspection",
    "meson",
    "ninja",
    "pkgconf"
  ],
  "categories": [
    "library",
    "gui-toolkit"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "cairo",
    "fontconfig",
    "fribidi",
    "gdk-pixbuf",
    "glib",
    "graphene",
    "harfbuzz",
    "hicolor-icon-theme",
    "jpeg-turbo",
    "libepoxy",
    "libpng",
    "librsvg",
    "libtiff",
    "pango",
    "gettext"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Toolkit for creating graphical user interfaces",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:38:29+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "gtk4",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://gtk.org/",
  "homepage_og_description": "GTK is a free and open-source cross-platform widget toolkit for creating graphical user interfaces.",
  "homepage_og_image": "/assets/img/logo-gtk.png",
  "homepage_title": "The GTK Project - A free and open-source cross-platform widget toolkit",
  "installs_30d": 4813,
  "installs_365d": 98400,
  "installs_90d": 23719,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "LGPL-2.1-or-later",
  "llm_generated_at": "2026-06-20T23:45:57+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "gtk4",
  "oldnames": [
    "gtk+4"
  ],
  "one_liner": "Cross-platform C widget toolkit for building native-looking graphical user interfaces.",
  "optional_dependencies": [],
  "rank_30d": 618,
  "rank_365d": 423,
  "rank_90d": 461,
  "raw_hash": "5bc3c869926d4e50",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/g/gtk4.rb",
  "tap": "homebrew/core",
  "test_dependencies": [
    "pkgconf"
  ],
  "uses_from_macos": [
    {
      "libxslt": "build"
    },
    "cups"
  ],
  "version_head": "HEAD",
  "version_stable": "4.22.4",
  "versioned_formulae": [],
  "why_use_this": "GTK4 is a mature, portable GUI toolkit widely used in GNOME and other Linux desktop environments. It\u0027s the dependency-of-choice for C/C++ applications needing native theming and accessibility support across X11, Wayland, and macOS. Primary use is as a build/runtime dependency for applications like GIMP, Inkscape, and Evolution."
}