Reinstall Xcode Command Line Tools Catalina

  1. The CLT stands for “Command Line Tools for Xcode”. This package enables UNIX-style development via Terminal by installing command line developer tools, as well as macOS SDK frameworks and headers.
  2. Install Command Line Tools. Open your terminal to begin the process of installing command-line tools on macOS Catalina. With your terminal opened, type the command below into the prompt and press the return key to execute it. After executing the command below a pop-up window should open with the option to install.
  3. By installing the Developer command line tools you’ll get the macOS SDK, headers, and build tools such as the Apple LLVM compiler and Make. As a developer for Mac OS X and iOS applications, these tools make it easy to install open source software or develop applications on UNIX within Terminal.

macOS Catalina

Before we get right to how to install command line tools on macOS, let us look at what macOS Catalina is all about. Apple just made available a major release of its macOS codenamed macOS Catalina (version 10.15). macOS Catalina is the sixteenth release of Apple’s desktop operating system for Macintosh computers. So with the release of macOS Catalina, we say goodbye to macOS Mojave (version 10.14)

The Command Line Tool package gives Mac terminal users many commonly used tools, utilities, and compilers, including make, GCC, clang, perl, svn, git, size, strip, strings, libtool, cpp, what, and many other useful commands that are usually found in default linux installations.

macOS Catalina is the first of its kind to support only 64-bit applications and activation lock. Read more about all the new feature of macOS Catalina from apple.com

Command-line tools on macOS Catalina is essential to running of commands and development task. Just like with all new versions of macOS you have to install command-line tools to run commands. The good news is the procedure has not changed much across the various versions of macOS

Install Command Line Tools

Open your terminal to begin the process of installing command-line tools on macOS Catalina. With your terminal opened, type the command below into the prompt and press the return key to execute it. After executing the command below a pop-up window should open with the option to install. The popped-up window should look similar to the image below

Subsequently, click on the Install button to proceed with the installation of command-line developer tools. Most importantly, as with every application, you have to agree to the license to proceed with the installation. Hence click agree on the license agreement window to continue with the installation.

Therefore, as a result of agreeing to license the download the command line tools is triggered. After that, the installation will kick in and should not take too long.

Finally, click on the Done button to complete the installation process.

After that run some beautiful code from the terminal. In conclusion, run your commands from the terminal to confirm the successful installation of command-line tools on macOS Catalina.

Reinstall xcode command line tools catalina free

Originally published at https://anansewaa.com on October 11, 2019

Today I’ve updated to macOS Catalina 10.15. I’ve tried to setup zsh instead of bash and ran intro troubles with Xcode command line tools.

Reinstall Xcode Command Line Tools Catalina

If I run

I’m seeing my previous installation in /Library/Developer/CommandLineTools. However, if I run

I’m seeing the installer which tries to fetch the latest Xcode command line tools. However, it always fails with

Tools

I don’t intend to install the large Xcode from the appstore. So I’ve tried to delete the existing installation of the command line tools with

Reinstall Xcode Command Line Tools Catalina Update

but the problem is still present.

Many people suggest to go to the developer.apple.com page and to search manually for the Xcode command line tools. I thought this wouldn’t work, because I’m only seeing the Xcode command line tools for Xcode 12.

However, we’re already at Xcode 12.1, so I thought this is the wrong download and is already outdated. But after I’ve installed the tools from this dmg, its working again and

shows a suitable error message.

So lessons learned: using the latest major version of the command line tools installer seems to be sufficient.