Skip to content

Instantly share code, notes, and snippets.

@korenmiklos
Last active November 23, 2021 13:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save korenmiklos/5b241b929727923a6f611dba82d6b41a to your computer and use it in GitHub Desktop.
Save korenmiklos/5b241b929727923a6f611dba82d6b41a to your computer and use it in GitHub Desktop.

How to install Make on Windows 10 and later

  1. Install "App Installer" from the Microsoft Store
  2. Open a terminal with cmd (Run as Administrator) or Git Bash.
  3. Type winget install -e --id GnuWin32.Make to install GNUWin Make. This will be installed in C:\Program Files (x86)\GnuWin32\bin.
  4. Add this folder to path, so that make and other GNUWin tools you install can be invoked from anywhere.
  5. Launch a terminal again, and check that make results in this error message: make: *** No targets specified and no makefile found. Stop.

WSL alternative

Windows Subsystem for Linux (WSL) seems like a more complete solution, but is correspondingly more complex. Guide here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment