Home RSS feed info
Install Homebrew and Command Line Tools, but without Xcode.

Install Homebrew without Xcode

Install Homebrew without Xcode

The large update effort of Xcode has always annoyed me. I only need the command line tools from the extensive Xcode package. With my new MacBook Pro (M2 Pro) I will do some things differently. Homebrew without Xcode is one of them. In this post I describe the installation.

For macOS, the package manager Homebrew is essential in my opinion. It makes the installation and updates of programs and tools easy and fast.

Install Command Line Tools

Even though the terminal command looks like Xcode is coming into play again, it only installs the command line tools.

xcode-select --install

Accept the license conditions and wait until the installation of the Commend Line Tools is finished. After that install Homebrew.

Install Homebrew

On the home page of - Homebrew - copy the terminal instruction for the installation, paste it in the terminal and start it with Return.

It asks for the password of the logged in user. If entered, then the installation routine shows which scripts are installed by Homebrew and which directories are created.

Install Homebrew

Enter - to start the installation of Homebrew.

Install Homebrew Install Homebrew

Homebrew or brew is not yet in the path. brew is the program name for homebrew. In the terminal, a statement is displayed with which brew can be included in the path. Copy these instructions in a block and paste this at the prompt. Confirm with Enter. The path entry is retained even if the system is restarted.

(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/frankkunert/.zprofile
    eval "$(/opt/homebrew/bin/brew shellenv)"

Your path statement will be different, at least from the username.

Install Homebrew

Check if the path entry worked. At the prompt, enter the brew help statement.

Install Homebrew

The latest version of Homebrew has just been installed. But to check if everything really works, enter the command brew update.

Install Homebrew

Update of the Command Line Tools

It was unclear to me until recently how the Command Line Tools are updated. Today I installed the update for macOS Ventura 13.3. In the update window the Command Line Tools were also displayed and updated together with Ventura 13.3. So the update is “automatically” provided and maintained by Apple.


The volunteer operators of Homebrew can only be thanked. The service costs nothing and the operators have, apart from work, only the satisfaction of providing something useful and missing.

Link list for this article

Update:  |
2 minutes to read
This post was created with Hugo version 0.115.2.

With the German language setting, comments are not displayed in the English version of the website and vice versa.

© 2023 - Frank Kunert  -  About me