Install mingw-w64 on Mac with Brew

mingw-w64 Package Installation on Mac

About abcde : Minimalist GNU for Windows and GCC cross-compilers!
More Information: https://mingw-w64.org/
Steps:

  1. Launch Terminal by pressing command+space, type terminal and hit Enter key.
  2. Run
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
  3. Install
    brew install mingw-w64

Done!