by Daniel Kehoe
Hi, I would like to install Xcode but my MacBook Pro doesn't update anymore (the latest version I have on my Mac is High Sierra 10.13.6) so I can't download the Xcode app from the App Store. Is there a link I can use to install Xcode that is compatible with my MacBook version? Xcode 9 can only be installed on a Mac running macOS Sierra (10.12.6 or above) or macOS High Sierra (10.13 or above). Go back to Step 0 and check to make sure you have upgraded to macOS High Sierra as your operating system before you attempt to install Xcode. MacOS 10.12.6 Sierra Final Version (16G2136) September 26, 2019 (Uploading in progress) macOS Sierra Final DMG file (One Full — Google Drive) — The macOS Sierra has been this easy to download.
Last updated 7 December 2016
How to install Apple Xcode Command Line Tools for macOS Sierra. Complete guide to installation.
Xcode is a large suite of software development tools and libraries from Apple. The Xcode Command Line Tools are part of XCode. Installation of many common Unix-based tools requires the GCC compiler. The Xcode Command Line Tools include a GCC compiler. This article shows how to install Xcode Command Line Tools to use the GCC compiler and more.
Installing Ruby on Rails
If you are setting up your computer for developing web applications with Ruby on Rails, see this article for complete instructions:
Summary
- Step 1. Upgrade Your System to macOS Sierra
- Step 2. Open the Terminal Application
- Step 3. Is XCode Already Installed?
- Step 4. Enter Commands
- Step 5. Install XCode Command Line Tools
- Step 6. Verify Installation
MacOS Sierra
To install the newest Xcode Command Line Tools, you'll need the latest version of macOS. If you've owned your Mac for several years and haven't updated macOS, be prepared to spend several hours updating the operating system.
See Apple's instructions How to upgrade to macOS Sierra. You can install macOS 10.12 Sierra from the Mac App Store for free. Allow plenty of time for the download and installation (it may take several hours).
If You Updated to macOS Sierra
If you updated to macOS Sierra from an earlier version of macOS, and you previously installed Xcode Command Line Tools, you will need to install the new version of Xcode Command Line Tools as described here.
If you previously installed the full Xcode package, you will need to update Xcode to the newest version (Xcode 8 or newer). After updating Xcode, launch and run the Xcode application and accept the Apple license terms.
Terminal Application
The Terminal application or console gives us access to the Unix command line, or shell. We call the command line the shell because it is the outer layer of the operating system's internal mechanisms (which we call the kernel).
Find the macOS Terminal application by using the Command-Spacebar combination and searching for 'Terminal.' It's in the Applications/Utilities/ folder.
Try out the terminal application by entering a shell command:
Don't type the $
character. The $
character is a cue that you should enter a shell command. This is a longtime convention that indicates you should enter a command in the terminal application. The Unix shell command whoami
returns your username.
To learn more about Unix shell commands, read The Command Line Crash Course.
Is Xcode Already Installed?
You don't need the full Xcode package to get the Xcode Command Line Tools. You only need the full Xcode package if you are doing development of applications for the Apple operating systems. However, you may have previously installed the full Xcode package.
Check if the full Xcode package is already installed:
If you see:
the full Xcode package is already installed.
You will need to update Xcode to the newest version (Xcode 8 or newer). Go to the App Store application and check 'Updates.' After updating Xcode, be sure to launch the Xcode application and accept the Apple license terms.
If you intend to install Ruby using RVM, and you see a file location that contains spaces in the path:
you must delete Xcode. RVM cannot accommodate spaces in a path so RVM will fail when you attempt to install Ruby. You can either install only the Xcode Command Line Tools (instructions below) or reinstall the full Xcode package.
Install Xcode Command Line Tools
MacOS Sierra will alert you when you enter a command in the terminal that requires Xcode Command Line Tools. For example, you can enter gcc
or make
.
Try it. Enter:
You'll see an alert box:
Alternatively, you can use a command to install Xcode Command Line Tools. It will produce a similar alert box. Note the double hyphen:
Click 'Install' to download and install Xcode Command Line Tools.
The instructions in the alert box are confusing. You don't need to 'Get Xcode' from the App Store. Just click 'Install' for the Xcode Command Line Tools. If you have a slow Internet connection, it may take many minutes.
If the download takes a very long time (over an hour) or fails, you can try an alternative. Go to https://developer.apple.com/downloads/more and enter your Apple ID and password. You'll be asked to agree to the terms of the Apple Developer Program. You'll see a list of software packages you can download. Look for the latest version of Command Line Toolsand click to download the .dmg file. Downloading the .dmg file is much faster than waiting forthe command-line-based download. Install the .dmg file by clicking on the package icon.
Verify that you've successfully installed Xcode Command Line Tools:
Just to be certain, verify that gcc
is installed:
Xcode For Mac Sierra 10.12.6
On earlier versions of macOS, it was more difficult to install Xcode Command Line Tools. It required a huge download of the full Xcode package from the Mac App Store or registration as an Apple developer for a smaller Command Line Tools package. Mac OS X Mavericks made installation of Xcode Command Line Tools much simpler.
Alternatives
The OSXGCC Installer is an open source project to provide the GCC compiler and related tools. In a recent blog post, Xcode, GCC, and Homebrew, the project maintainer recommends installing the Xcode Command Line Tools because the open source project is unable to duplicate the complete Apple package (notably, the Node software project isn't supported).
Start Coding!
With the GCC compiler installed, you can install any Unix system tools you need for software development.
To install Rails, see the article Install Ruby on Rails – macOS.
Want to learn Ruby on Rails? See What is Ruby on Rails?, the book Learn Ruby on Rails, and recommendations for a Rails tutorial.
Credits
Daniel Kehoe wrote the article.
High Sierra is an update of MacOS which focuses mostly on back-end developments and a higher level of user security. As such, this operating system lays a foundation for future upgrades.
Stay safe
Download Xcode For Mac 10.12.6
In essence, High Sierra took what was good with Sierra and developed it into a more comprehensive software.
High Sierra emphasizes the already-existing benefits of MacOS previous system, Sierra. There are few bells and whistles, but the changes are noticeable and positive. The Apple file system is the most significant feature it brought. It enables the storage and encryption of a large number of files. Thus, it boosts performance and helps manage device memory issues.
If you previously installed the full Xcode package, you will need to update Xcode to the newest version (Xcode 8 or newer). After updating Xcode, launch and run the Xcode application and accept the Apple license terms.
Terminal Application
The Terminal application or console gives us access to the Unix command line, or shell. We call the command line the shell because it is the outer layer of the operating system's internal mechanisms (which we call the kernel).
Find the macOS Terminal application by using the Command-Spacebar combination and searching for 'Terminal.' It's in the Applications/Utilities/ folder.
Try out the terminal application by entering a shell command:
Don't type the $
character. The $
character is a cue that you should enter a shell command. This is a longtime convention that indicates you should enter a command in the terminal application. The Unix shell command whoami
returns your username.
To learn more about Unix shell commands, read The Command Line Crash Course.
Is Xcode Already Installed?
You don't need the full Xcode package to get the Xcode Command Line Tools. You only need the full Xcode package if you are doing development of applications for the Apple operating systems. However, you may have previously installed the full Xcode package.
Check if the full Xcode package is already installed:
If you see:
the full Xcode package is already installed.
You will need to update Xcode to the newest version (Xcode 8 or newer). Go to the App Store application and check 'Updates.' After updating Xcode, be sure to launch the Xcode application and accept the Apple license terms.
If you intend to install Ruby using RVM, and you see a file location that contains spaces in the path:
you must delete Xcode. RVM cannot accommodate spaces in a path so RVM will fail when you attempt to install Ruby. You can either install only the Xcode Command Line Tools (instructions below) or reinstall the full Xcode package.
Install Xcode Command Line Tools
MacOS Sierra will alert you when you enter a command in the terminal that requires Xcode Command Line Tools. For example, you can enter gcc
or make
.
Try it. Enter:
You'll see an alert box:
Alternatively, you can use a command to install Xcode Command Line Tools. It will produce a similar alert box. Note the double hyphen:
Click 'Install' to download and install Xcode Command Line Tools.
The instructions in the alert box are confusing. You don't need to 'Get Xcode' from the App Store. Just click 'Install' for the Xcode Command Line Tools. If you have a slow Internet connection, it may take many minutes.
If the download takes a very long time (over an hour) or fails, you can try an alternative. Go to https://developer.apple.com/downloads/more and enter your Apple ID and password. You'll be asked to agree to the terms of the Apple Developer Program. You'll see a list of software packages you can download. Look for the latest version of Command Line Toolsand click to download the .dmg file. Downloading the .dmg file is much faster than waiting forthe command-line-based download. Install the .dmg file by clicking on the package icon.
Verify that you've successfully installed Xcode Command Line Tools:
Just to be certain, verify that gcc
is installed:
Xcode For Mac Sierra 10.12.6
On earlier versions of macOS, it was more difficult to install Xcode Command Line Tools. It required a huge download of the full Xcode package from the Mac App Store or registration as an Apple developer for a smaller Command Line Tools package. Mac OS X Mavericks made installation of Xcode Command Line Tools much simpler.
Alternatives
The OSXGCC Installer is an open source project to provide the GCC compiler and related tools. In a recent blog post, Xcode, GCC, and Homebrew, the project maintainer recommends installing the Xcode Command Line Tools because the open source project is unable to duplicate the complete Apple package (notably, the Node software project isn't supported).
Start Coding!
With the GCC compiler installed, you can install any Unix system tools you need for software development.
To install Rails, see the article Install Ruby on Rails – macOS.
Want to learn Ruby on Rails? See What is Ruby on Rails?, the book Learn Ruby on Rails, and recommendations for a Rails tutorial.
Credits
Daniel Kehoe wrote the article.
High Sierra is an update of MacOS which focuses mostly on back-end developments and a higher level of user security. As such, this operating system lays a foundation for future upgrades.
Stay safe
Download Xcode For Mac 10.12.6
In essence, High Sierra took what was good with Sierra and developed it into a more comprehensive software.
High Sierra emphasizes the already-existing benefits of MacOS previous system, Sierra. There are few bells and whistles, but the changes are noticeable and positive. The Apple file system is the most significant feature it brought. It enables the storage and encryption of a large number of files. Thus, it boosts performance and helps manage device memory issues.
Apple also introduced new formats for video and photos in this version. These formats compress data - that's a benefit as files can get huge with ever-rising resolutions. They added support for virtual reality headsets as well.
Besides that, when it comes to Safari, Mac search engine, there are some notable improvements with the update. The users can now control annoying auto-play videos, prevent tracking, and more. There are also notification controls, and you will experience a boost in performance, too.
The most noticeable changes took place in Apple's Photo App, though. It went through a total revamp both visually in its interface and terms of tools and functions available. Many other discreet changes happened all over the system.
Download Xcode For Mac Sierra 10.12.6
Where can you run this program?
If you're running Sierra on your Mac, you will be able to run this one as well.
Is there a better alternative?
Yes. Mojave, the newest version of MacOS, brought even more improved features to the table. However, if you can't run it on your device, this is the second best.
Our take
High Sierra is not the shiniest upgrade Apple brought, but it's one that sets the stage for new upgrades to come. Even out of that context, it's a great operating system.
Should you download it?
Yes, if your device can support it. The new options and better security settings are worth getting.
10.13