explaingit

homebrew/homebrew-core

Analysis updated 2026-06-24

15,285RubyAudience · developerComplexity · 2/5Setup · easy

TLDR

The default tap of Homebrew formulae, the Ruby scripts that tell `brew` how to download, build, and install software on macOS and Linux.

Mindmap

mindmap
  root((homebrew-core))
    Inputs
      Formula name
      brew CLI
    Outputs
      Installed package
      Built binaries
    Use Cases
      Install CLI tools on macOS
      Install dev libraries on Linux
      Contribute a new formula
    Tech Stack
      Ruby
      Homebrew
      Bash
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Install a CLI tool on macOS or Linux via brew install

USE CASE 2

Write a new formula to package your own software for Homebrew

USE CASE 3

Audit an existing formula to see how a package is built and patched

What is it built with?

RubyHomebrewBash

How does it compare?

homebrew/homebrew-corespree/spreeopf/openproject
Stars15,28515,42115,065
LanguageRubyRubyRuby
Setup difficultyeasymoderatemoderate
Complexity2/54/53/5
Audiencedeveloperdeveloperpm founder

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Needs Homebrew installed first, this repo is the default tap and is loaded automatically.

In plain English

Homebrew Core is the default collection of "formulae" for the Homebrew package manager. Homebrew is a popular tool for installing software on macOS (and Linux) from the command line, and a formula is a script that describes how to download, build, and install a particular piece of software. This repository contains the default set of those formulas -- the ones that come built into Homebrew automatically, without needing to add any extra sources. To install any package listed here, you simply run brew install <formula> in your terminal. The README notes that further documentation, contributing guidelines, and other details are maintained in the main Homebrew/brew repository.

Copy-paste prompts

Prompt 1
Walk me through writing a new homebrew-core formula for a Go binary I just released on GitHub
Prompt 2
Show me the structure of a typical formula file in homebrew-core and what the install method does
Prompt 3
Explain how homebrew-core handles bottles and how I can build one locally for testing
Prompt 4
Give me the rules I need to follow before opening a PR to add a formula to homebrew-core

Frequently asked questions

What is homebrew-core?

The default tap of Homebrew formulae, the Ruby scripts that tell `brew` how to download, build, and install software on macOS and Linux.

What language is homebrew-core written in?

Mainly Ruby. The stack also includes Ruby, Homebrew, Bash.

How hard is homebrew-core to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is homebrew-core for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Scan in gitsafehub Deploy in gitdeployhub homebrew on gitmyhub

Verify against the repo before relying on details.