by Daniel Kehoe
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.
2 days ago I have tried to install Command Line Tools in Mac OS X (Without Xcode), through Terminal, I type 'xcode-select -install' but when it tries to download the Tools I get the message 'Can’t install the software because it is not currently available from the Software Update server' I work on a MacBook Air Catalina 10.15.7. I have a Mac OS X 10.7.5 and i need to install xcode. I think the latest xcode. I can use is xcode 4.6.3 because i have OS X 10.7.5. But i can't find xcode 4.6.3 or any xcode 4.6.X anywhere. I've looked in the. App store, 'downloads for developers' and the 'Mac Dev Center' but the. Latest xcode i can find is xcode 3.2. I have a developer account. Xcode for windows free download - Apple Xcode, Xcode Toolbox, Xcode Assistant, and many more programs. Mac OS X development environment. Publisher: Google Mac Developer Playground Downloads. This version includes the SDKs for iOS 14, iPadOS 14, macOS Catalina, tvOS 14, and watchOS 7. Download from the Mac App Store.
Installing Ruby on Rails
Command line tools mac os x download. 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
Xcode 11 3 Download For Mac
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
.![Developer Developer](/uploads/1/2/6/7/126741271/702442500.jpg)
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: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 How to download psp games using mac. 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.
macOS Big Sur takes the most advanced operating system in the world to a whole new level of power and beauty, making your apps look better than ever on an all-new interface. New widget features and the new widget gallery help you deliver more value to your users. Adding intelligence to your apps with machine learning is even simpler and more extensive with new tools, models, training capabilities, and APIs. You can create more powerful Mac versions of your iPad apps with Mac Catalyst. And you can now easily bring your extensions to Safari — and to the App Store.
All-new Interface
macOS Big Sur brings a new design that’s been finely tuned for the powerful features that make a Mac a Mac. Core features, such as the menu bar and Dock, take advantage of the large Mac display, with translucent backings and spacious pull-down menus. The new Control Center, designed just for Mac, provides quick access to controls while keeping the menu bar clutter-free. Notification Center puts recent notifications and powerful new widgets together in a single view for at-a-glance information as you work. And a streamlined new design for apps features full-height sidebars and integrated toolbar buttons.
Widgets
Mac Os X Developer Tools
Easily build widgets using the WidgetKit framework and the new widget API for SwiftUI. Widgets now come in multiple sizes, and users can visit the new widget gallery to search, preview sizes, and add them to Notification Center to access important details at a glance.
Xcode On Mac
Safari Extensions
With support for the popular WebExtension API, it’s even easier to bring powerful extensions to Safari. Xcode 12 even includes a porting tool to streamline the process.
The new Extensions category on the Mac App Store showcases Safari extensions, with editorial spotlights and top charts to help users discover and download great extensions from the developer community.
Machine Learning
With macOS Big Sur, creating apps that leverage the power of machine learning is even easier and more extensive with additional tools in Core ML for model deployment, new models and training capabilities in Create ML, more APIs for vision and natural language, and improved resources for training on Mac and converting models to Core ML format.
Mac Catalyst
Create even more powerful Mac versions of your iPad apps. Apps built with Mac Catalyst now take on the new look of macOS Big Sur and help you better define the look and behavior of your apps. You can choose to turn off automatic scaling of iPad controls and layout, allowing you to precisely place every pixel on the screen. Provide full control of your app using just the keyboard, take advantage of the updated Photos picker, access more iOS frameworks, and more.
User privacy on the App Store.
Later this year, the Mac App Store will help users understand apps’ privacy practices. You’ll need to enter your privacy practice details into App Store Connect for display on your product page.
Universal App Quick Start Program
Get your apps ready for Apple Silicon Macs. Create next-generation Universal apps that take full advantage of the capabilities the new architecture has to offer. Get all the tools, resources, support, and even access to prototype hardware you’ll need. You can also watch a collection of videos from WWDC20 to help you get started.
Tools and resources
![Xcode Xcode](/uploads/1/2/6/7/126741271/881734004.png)
Use Xcode 12 beta and these resources to build apps for macOS Big Sur.