Skip to content

Install make command

# Run in an elevated PowerShell (Run as Administrator)
choco install make
# verify
make --version
# In a normal PowerShell
Set-ExecutionPolicy -Scope CurrentUser RemoteSigned
iwr get.scoop.sh -useb | iex
scoop install make
make --version
# 1) Install MSYS2 from https://www.msys2.org/
# 2) In "MSYS2 MSYS" terminal:
pacman -Syu # then reopen terminal if asked
pacman -S make
make --version
sudo apt update
# Pulls in compilers and common build tools, including make
sudo apt install build-essential
# (or just) sudo apt install make
make --version

Option A: Xcode Command Line Tools (most common)

Section titled “Option A: Xcode Command Line Tools (most common)”
xcode-select --install # follow the prompt
make --version

This provides Apple’s/BSD-flavored make, which is fine for most projects.

Option B: Homebrew (get GNU make ≥ 4.x as gmake)

Section titled “Option B: Homebrew (get GNU make ≥ 4.x as gmake)”
# Install Homebrew if needed: https://brew.sh
brew install make
gmake --version

If a project specifically requires GNU make as make, you can use:

echo ‘alias make=“gmake”’ >> ~/.zshrc && source ~/.zshrc

  • If make isn’t found, restart your terminal (or on Windows, open a new PowerShell) so your PATH updates.
  • Run which make (where make on Windows) to confirm which binary you’re using.
  • For Windows builds that depend on Unix tools (sed, grep, etc.), prefer MSYS2 or WSL for a smoother experience.