I've recently started using MacBook Pro with OSX, after years of developing under Ubuntu.

I often use GNU command line tools like make and watch. How do I install these on my Mac?


Have a look at these two links:

  • Thanks, the second link solved the watch problem. Still no clue on free GNU make solution. – Adam Matan Jan 30 '12 at 10:17
  • 1
    Xcode is free, you don't need to have a developer subscription to use it: Download Xcode 4.2.1 for Lion from the Mac App Store for Free If you are not an iOS or Mac Developer Program member, you can download Xcode 4.2.1 for Lion from the Mac App Store for free. – Vlad Jan 30 '12 at 10:21

makeis shipped with Xcode 4.
watch and others UNIX tools Apple didn't include with OS X are available using Homebrew package manager.

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

  • Is there a free way to install make? According to the site, I have to pay 99$/year for a subscription plan. – Adam Matan Jan 30 '12 at 10:12
  • 99$ is for the subscription to the Mac developer program, you don't need it. Xcode 4 is 5$. Or you can download Xcode 3 which is free. – kraymer Jan 30 '12 at 10:21
  • 2
    In case anyone else comes across this answer: Xcode has been made available for free. You can download it through the Mac App Store at <itunes.apple.com/us/app/xcode/id448457090?mt=12> – TJ Luoma Feb 12 '12 at 20:34

watch and GNU make are also available via MacPorts.

port info watch gmake

For pre-compiled Unix binaries see also Rudix.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .