WikiAnswer

The collaborative question answering wiki

User Tools

Site Tools


english:computers_and_internet:how_to_install_mingw-w64_on_windows

How to install MinGW-w64 on Windows?

  1. Go to this page: https://winlibs.com/
  2. Download the latest version of MinGW-w64 (“UCRT runtime” / “GCC + MinGW-w64”)
  3. Extract the ZIP file to C: so that you have all the files available in the folder: C:\mingw64
  4. Search for “env” in the Start menu, select “Edit the system environment variables,” click “Environment Variables” and choose to edit the “PATH” user variable
  5. Add the following new variable to PATH: C:\mingw64\bin
  6. Press the Windows key + r. In the Run box, type cmd, and then click Ok. This opens the Command Prompt window
  7. Check that gcc runs correctly (execute the command gcc --version, for example)
english/computers_and_internet/how_to_install_mingw-w64_on_windows.txt · Last modified: 2026/03/23 20:46 by 90.167.98.217