MSYS2 Installer logo

MSYS2 Installer The MSYS2 Developers

Use this command to install MSYS2 Installer:
winget install --id=MSYS2.MSYS2 -e

MSYS2 is a collection of tools and libraries providing you with an easy-to-use environment for building, installing and running native Windows software.

MSYS2 Installer is a tool designed to simplify the setup of MSYS2, a collection of tools and libraries that provide an easy-to-use environment for building, installing, and running native Windows software.

Key Features:

  • Automated installation of MSYS2 components.
  • Pre-configured development environment ready to use out-of-the-box.
  • Support for multiple architectures (32-bit and 64-bit).
  • Integration with popular development tools and workflows.
  • Package management via winget for seamless updates and additional software installations.

Audience & Benefit:
Ideal for developers, build engineers, and anyone needing a seamless Windows environment for compiling or running native applications. MSYS2 Installer streamlines the setup process, reducing time spent configuring tools and ensuring compatibility across different architectures.

README

MSYS2 Installer

Nightly build

https://github.com/msys2/msys2-installer/releases/tag/nightly-x86_64

screenshot

CLI Usage examples

Installing the GUI installer via the CLI to C:\msys64:

.\msys2-x86_64-latest.exe in --confirm-command --accept-messages --root C:/msys64

Uninstalling an existing installation in C:\msys64 via the CLI:

C:\msys64\uninstall.exe pr --confirm-command

Installing the self extracting archive to C:\msys64:

.\msys2-base-x86_64-latest.sfx.exe -y -oC:\

FAQ

What's the difference between the installer and the archives?

The installer provides some additional features such as installing shortcuts, registering an uninstaller, a GUI for selecting the installation path and automatically running a login shell at the end to initialize the MSYS2 environment.

If you unpack the archives and run a login shell once, you will get a functionally equivalent MSYS2 installation.

What is contained in the installer/archives?

It contains the base package and all its dependencies. You can list the contained packages using: pactree base -lu | sort

Versions
20250622
20250221
20241208
20241116
20240727
20240507
20240113
20231026
20230718
20230526
Website