---
title: "How long does Xcode take to install?"
description: "Installing Xcode usually takes half an hour to a couple of hours, depending on your connection and disk. See what slows it down and how to speed it up."
url: "https://bugsee.com/answers/swift/how-long-does-xcode-take-to-install/"
---

# How long does Xcode take to install?

Expect roughly 30 minutes to 2 hours: the download is several gigabytes and unpacking and verifying it takes a while, especially on a slow connection or a nearly full disk.

The time splits into three parts: downloading the archive, unpacking and verifying it, and installing extra platform support such as simulators. Each depends on a different resource.

- Download: limited by your connection. The Mac App Store is often slower than downloading the .xip file from developer.apple.com, and a downloaded file can be resumed.
- Unpacking: limited by your disk. Make sure there are tens of gigabytes free before you start, since the installed app is far larger than the download.
- Platform runtimes: simulators for each OS are separate downloads. Install only the platforms you use.

```bash
# Command line tools only (git, clang, make), much smaller than full Xcode
xcode-select --install

# Add a simulator runtime later instead of during first install
xcodebuild -downloadPlatform iOS
```

The first launch can also take a few minutes while Xcode installs additional components, so budget extra time before you plan to build.

## Related questions

- [How do you fix "Failed to prepare device for development" in Xcode?](https://bugsee.com/answers/swift/failed-to-prepare-device-for-development/)
