Installing command line GNU utils

Solution 1:

Have a look at these two links:

  • https://stackoverflow.com/questions/1469994/using-make-on-osx (Installing Xcode will also install make)
  • http://osxdaily.com/2010/08/22/install-watch-command-on-os-x/

Solution 2:

watch and GNU make are also available via MacPorts.

port info watch gmake

For pre-compiled Unix binaries see also Rudix.

Solution 3:

make is shipped with Xcode which is free and now in the Mac App Store (there was a short period when this answer was written when Xcode 4 was not free). Note this is BSD make.

watch, GNU make and other UNIX tools Apple didn't include with OS X are available using various package managers including Homebrew, Macports and Rudix.

Update 17 Feb 2012:
Apple added a new package to their official developer tools suite: Command Line Tools for Xcode. More information about why this package was born at Xcode, GCC, and Homebrew.