kmorrison@Karls-MacBook-Pro ~ $ xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
kmorrison@Karls-MacBook-Pro ~ $ xcode
-bash: xcode: command not found

How do I open Xcode?

  • Install Xcode and try open -a xcode or open -b com.apple.dt.Xcode... ;-)
    – klanomath
    Jun 26 '17 at 14:03

Xcode is an app in /Applications — there's no CLI tool called xcode.

  • For the GUI application, launch it from the Applications folder or with open -a Xcode.
  • For the CLI build tool, it's called xcodebuild.

Have you even downloaded Xcode IDE? The install should give you an option to open it.

If you already have it installed, try CMD+SPACE and search for "Xcode".

All you have installed is a command line tools package that is separate from the actual IDE.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .