Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Is there any way to use c++ without xcode installing

Is there any way to use C plus plus programming without installing xcode

Posted on Feb 28, 2018 7:57 PM

Reply
Question marked as Best reply

Posted on Mar 1, 2018 5:46 AM

Sign-up for a free developer account at developer.apple.com. You can use the same AppleID and password as for the support communities sign-in. You do not need Xcode at all, and can save yourself the 5GB download. Apple makes Command Line Tools that is a 174MB download that gives you a full C/C++/Objective-C compilation environment.


At the bottom of the Apple developer landing page is a link to Downloads, and at the bottom of that page is this download link for more downloads. The command line packages are named: Command Line Tools (os version) for Xcode n.n. So for High Sierra, you want Command Line Tools (macOS 10.13) for Xcode 9.2. As of this post, the version for Xcode 9.3 is really a beta when you look at the filename of the download. Stay away from the beta stuff, and if you install the 9.2 version of command line tools, the Mac App Store will show you an update for 9.3 when it is out of beta.


User uploaded file

If your version of OS X/macOS is older, then find the last Command Line Tools shown for that operating system. It should be worth noting that Apple's compilation environment is not based on GNU compiler technology, and uses the Clang/LLVM technology.

3 replies

There are no replies.

Is there any way to use c++ without xcode installing

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.