🍺 BREW Explorer

← all formulae

mingw-w64

brew install mingw-w64 v14.0.0_1 ZPL-2.1 AND (GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.0-or-later AND LGPL-3.0-only) AND (GPL-3.0-or-later WITH GCC-exception-3.1)

GCC cross-compiler and runtime for building native Windows binaries from Linux or macOS.

Why you might care

Essential for cross-compiling C/C++ code to Windows targets without leaving your Unix development environment. Provides the complete GNU toolchain (gcc, binutils, headers, runtime) needed to produce standalone .exe files for both 32-bit and 64-bit Windows. Often a build dependency for projects that need Windows support.

Categories

Alternatives

MSVC Clang Wine
2.8k
30-day installs · #821
8.0k
90-day · #905
28.9k
365-day · #905

Runtime dependencies

Build dependencies

Links

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

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "MSVC",
    "Clang",
    "Wine"
  ],
  "build_dependencies": [
    "pkgconf",
    "texinfo"
  ],
  "categories": [
    "compiler",
    "cross-compiler"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "gmp",
    "isl",
    "libmpc",
    "mpfr",
    "zstd"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Minimalist GNU for Windows and GCC cross-compilers",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:41:08+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "mingw-w64",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://sourceforge.net/projects/mingw-w64/",
  "homepage_og_description": "Download MinGW-w64 - for 32 and 64 bit Windows for free. A complete runtime environment for gcc. The mingw-w64 project is a complete runtime environment for gcc to support binaries native to Windows 64-bit and 32-bit operating systems.",
  "homepage_og_image": null,
  "homepage_title": "MinGW-w64 - for 32 and 64 bit Windows download | SourceForge.net",
  "installs_30d": 2809,
  "installs_365d": 28896,
  "installs_90d": 7984,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "ZPL-2.1 AND (GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.0-or-later AND LGPL-3.0-only) AND (GPL-3.0-or-later WITH GCC-exception-3.1)",
  "llm_generated_at": "2026-06-20T23:47:16+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "mingw-w64",
  "oldnames": [],
  "one_liner": "GCC cross-compiler and runtime for building native Windows binaries from Linux or macOS.",
  "optional_dependencies": [],
  "rank_30d": 821,
  "rank_365d": 905,
  "rank_90d": 905,
  "raw_hash": "5f3c8a3df1cf0a56",
  "recommended_dependencies": [],
  "revision": 1,
  "ruby_source_path": "Formula/m/mingw-w64.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "14.0.0",
  "versioned_formulae": [],
  "why_use_this": "Essential for cross-compiling C/C++ code to Windows targets without leaving your Unix development environment. Provides the complete GNU toolchain (gcc, binutils, headers, runtime) needed to produce standalone .exe files for both 32-bit and 64-bit Windows. Often a build dependency for projects that need Windows support."
}