Skip to content
Snippets Groups Projects
user avatar
JCount authored
this is necessary because they install conflicting scripts into
HOMEBREW_PREFIX/etc/profile.d
4e505624
History
Code owners
Assign users and groups as approvers for specific file changes. Learn more.

Homebrew's Formula API

This is the (partially) documented public API for Homebrew.

The main class you should look at is the {Formula} class (and classes linked from there). That's the class that's used to create Homebrew formulae (i.e. package descriptions). Assume anything else you stumble upon is private.

You may also find the Formula Cookbook and Ruby Style Guide helpful in creating formulae.

Good luck!