> For the complete documentation index, see [llms.txt](https://www.macsetup.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.macsetup.xyz/dev-environment/xcode.md).

# Xcode

## **Xcode**

Xcode is Apple’s official integrated development environment (IDE) used to build apps for all Apple platforms. Download and install it from the **App Store** or from [Apple's website](https://developer.apple.com/xcode/).

To verify your installation, run:

```zsh
xcode-select -p
```

And you should see:

```zsh
/Applications/Xcode.app/Contents/Developer
```

Don't forget to accept the license by running:

```zsh
sudo xcodebuild -license accept
```

## Xcode Command Line Tools

Xcode Command Line Tools (CLT) are a lightweight set of developer tools from Apple that let you use programming and build tools without installing the full Xcode app. You'll still need this when installing for Homebrew later.

To install, run:

```zsh
xcode-select --install
```
