Additional Downloads
Xip -expand /path/to/Xcodex.y.xip also works, and extracts Xcode into the shell's current directory, so cd /Applications (or wherever) first. I'd also strongly recommend removing or or renaming any existing copies of Xcode.app (or Xcode-beta.app) from the target location before using this command†. Search for the command line package you want to download (I'm going to use the latest stable Command Line tools for Xcode 10 and macOS Mojave). Press the link on the right side and wait for download to complete; Once downloaded, install it as any other.dmg package. Install Homebrew and wget I used Homebrew to install wget.
Get the latest beta and older versions of Xcode. To view downloads, simply sign in with your Apple ID. Apple Developer Program membership is not required.
Download Xcode.dmg
Beta Versions of Xcode
Command Line Tools & Older Versions of Xcode
Videos
See the latest advances in Xcode presented at WWDC and other events.
Help and Support
Get step-by-step guidance on how to use Xcode to build, test, and submit apps to the App Store.
Xcode Help Guide
Xcode Support Page
Download Xcode For Mojave
API Reference and Sample Code
Browse the latest documentation including API reference, articles, and sample code.
Discussion Forums
Ask questions and discuss development topics with Apple engineers and other developers.
The Question :
Where does the Mac App Store download the files to under Lion? I need the DMG file in order to repair something in my system, but how can I access that file?
The Answer 1
You can find the DMGs or XIPs for Xcode and other development tools on https://developer.apple.com/download/more/ (requires Apple ID to login).
You must login to have a valid session before downloading anything below.
*(Newest on top. For each minor version (6.3, 5.1, etc.) only the latest revision is kept in the list.)
*With Xcode 12.2, Apple introduces the term “Release Candidate” (RC) which replaces “GM seed” and indicates this version is near final.
Xcode 12
12.3 beta (requires a Mac with Apple silicon running macOS Big Sur 11 or later, or an Intel-based Mac running macOS Catalina 10.15.4 or later) (Latest as of 26-Nov-2020)
12.0.1 (Requires macOS 10.15.4 or later) (Latest as of 24-Sept-2020)
Xcode 11
11.7 (Latest as of Sept 02 2020)
11.4.1 (Requires macOS 10.15.2 or later)
11 (Requires macOS 10.14.4 or later)
Xcode 10 (unsupported for iTunes Connect)
- 10.3 (Requires macOS 10.14.3 or later)
- 10.2.1 (Requires macOS 10.14.3 or later)
- 10.1 (Last version supporting macOS 10.13.6 High Sierra)
- 10 (Subsequent versions were unsupported for iTunes Connect from March 2019)
Xcode 9
- 9.2 (Last version supporting macOS 10.12.6 Sierra)
Xcode 8
- 8.2.1 (Last version supporting OS X 10.11.5 El Capitan)
Xcode 7
- 7.2.1 (Last version supporting OS X 10.10 Yosemite)
Xcode 6
- 6.2 (Last version supporting OS X 10.9.5 Mavericks)
Even Older Versions (unsupported for iTunes Connect)
- 5.1.1 (Latest version supporting OS X 10.8 Mountain Lion)