🍺 BREW Explorer

← all formulae

glfw

brew install glfw v3.4 Zlib

C library for creating windows and handling input for OpenGL applications across macOS, Windows, and Linux.

Why you might care

GLFW abstracts away platform-specific windowing and input handling, letting you focus on OpenGL rendering logic instead of managing X11, Cocoa, or Win32 APIs directly. It's lightweight, actively maintained, and the de facto standard for cross-platform OpenGL development. Used as a build dependency by many graphics frameworks and games.

Categories

Alternatives

SDL2 SFML raylib Wayland
4.6k
30-day installs · #633
14.0k
90-day · #675
43.0k
365-day · #741

Build dependencies

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "SDL2",
    "SFML",
    "raylib",
    "Wayland"
  ],
  "build_dependencies": [
    "cmake",
    "pkgconf"
  ],
  "categories": [
    "library",
    "header-only-library"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Multi-platform library for OpenGL applications",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:38:09+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "glfw",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://www.glfw.org/",
  "homepage_og_description": "GLFW project home page.",
  "homepage_og_image": null,
  "homepage_title": "An OpenGL library | GLFW",
  "installs_30d": 4638,
  "installs_365d": 42984,
  "installs_90d": 14011,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "Zlib",
  "llm_generated_at": "2026-06-20T23:46:02+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "glfw",
  "oldnames": [
    "glfw3"
  ],
  "one_liner": "C library for creating windows and handling input for OpenGL applications across macOS, Windows, and Linux.",
  "optional_dependencies": [],
  "rank_30d": 633,
  "rank_365d": 741,
  "rank_90d": 675,
  "raw_hash": "2aa5b547328d9e1b",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/g/glfw.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "3.4",
  "versioned_formulae": [],
  "why_use_this": "GLFW abstracts away platform-specific windowing and input handling, letting you focus on OpenGL rendering logic instead of managing X11, Cocoa, or Win32 APIs directly. It\u0027s lightweight, actively maintained, and the de facto standard for cross-platform OpenGL development. Used as a build dependency by many graphics frameworks and games."
}