How do you update Xcode on OSX to the latest version?

Evan R. picture Evan R. · Mar 14, 2013 · Viewed 520.5k times · Source

What is the easiest way to update Xcode on OSX?

I see this in the terminal:

$ brew install xxxxxxx
Warning: Your Xcode (4.3.3) is outdated
Please install Xcode 4.6.

But when I go to open up Xcode > Preferences > Downloads, it says there are no updates?

Answer

jjn picture jjn · Mar 14, 2013
  1. Open up App Store

    enter image description here

  2. Look in the top right for the updates section (may also be in lefthand column "Updates"..)

    enter image description here

  3. Find Xcode & click Update enter image description here