Installing CodeBlocks on Your Mac

If you have the OSX 10 or Higher:
Step 1: Install Xcode
  1. Go to the download Xcode page of the Apple Developer site.
  2. Select the newest, non-Beta version of Xcode.
  3. Click on View in the Mac App store
  4. Select the button to download Xcode.
  5. Note that you will need to know your Apple ID in order to download. If you don't have one, you will need to create one.
  6. Follow the instructions for installation.
Step 2: Install CodeBlocks
  1. Visit the CodeBlocks downloads page.
  2. Scroll to the bottom of the page until you find the download for the Mac
  3. Click on the link (sourceforge recommended!)
  4. Once it finishes downloading, click on the file and follow any instructions for installation.
  5. Then, drag and drop the CodeBlocks icon into your Applications folder.
  6. Then, open up a new C++ source file and make CodeBlocks is working properly.
  7. If it is not working properly, see the link below for how to install developer's tools.


If you have an older version of the OS

  • Follow the instructions for setting up CodeBlocks here.