JSON API Documentation
Metadata
List metadata for all Homebrew/core formulae or Homebrew/cask casks
List the brew info --json output for all current Homebrew/homebrew-core formulae or Homebrew/homebrew-cask casks.
curl https://formulae.brew.sh/api/formula.json
curl https://formulae.brew.sh/api/cask.json
[
...
{
"name": "wget",
"full_name": "wget",
"tap": "homebrew/core",
"oldnames": [],
"aliases": [],
"versioned_formulae": [],
"desc": "Internet file retriever",
"license": "GPL-3.0-or-later",
"homepage": "https://www.gnu.org/software/wget/",
"versions": {
"stable": "1.25.0",
"head": "HEAD",
"bottle": true
},
"urls": {
"stable": {
"url": "https://ftpmirror.gnu.org/gnu/wget/wget-1.25.0.tar.gz",
"tag": null,
"revision": null,
"using": null,
"checksum": "766e48423e79359ea31e41db9e5c289675947a7fcf2efdcedb726ac9d0da3784"
},
"head": {
"url": "https://git.savannah.gnu.org/git/wget.git",
"branch": "master",
"using": null
}
},
"revision": 0,
"version_scheme": 0,
"compatibility_version": null,
"autobump": false,
"no_autobump_message": "requires_manual_review",
"skip_livecheck": false,
"bottle": {
"stable": {
"rebuild": 1,
"root_url": "https://ghcr.io/v2/homebrew/core",
"files": {
"arm64_tahoe": {
"cellar": "/opt/homebrew/Cellar",
"url": "https://ghcr.io/v2/homebrew/core/wget/blobs/sha256:03be72d23a113a3273245b3e071667b611ea5d81dab6f52e995a84420d0ed734",
"sha256": "03be72d23a113a3273245b3e071667b611ea5d81dab6f52e995a84420d0ed734"
},
"arm64_sequoia": {
"cellar": "/opt/homebrew/Cellar",
"url": "https://ghcr.io/v2/homebrew/core/wget/blobs/sha256:d620e085be7df7e93c7a8e6dc98e71b7a2faedbb40e83daae9b823374ee9b09e",
"sha256": "d620e085be7df7e93c7a8e6dc98e71b7a2faedbb40e83daae9b823374ee9b09e"
},
"arm64_sonoma": {
"cellar": "/opt/homebrew/Cellar",
"url": "https://ghcr.io/v2/homebrew/core/wget/blobs/sha256:0611b16c2d24332fbb48cf1d75717b3ac3fc579a6ddac33ee1acaa791ff12e8e",
"sha256": "0611b16c2d24332fbb48cf1d75717b3ac3fc579a6ddac33ee1acaa791ff12e8e"
},
"sonoma": {
"cellar": "/usr/local/Cellar",
"url": "https://ghcr.io/v2/homebrew/core/wget/blobs/sha256:91995d4d44951e981c36879505e8e294d15e46bbd3ef3965caf94d55424e165b",
"sha256": "91995d4d44951e981c36879505e8e294d15e46bbd3ef3965caf94d55424e165b"
},
"arm64_linux": {
"cellar": "/home/linuxbrew/.linuxbrew/Cellar",
"url": "https://ghcr.io/v2/homebrew/core/wget/blobs/sha256:6c291dba1e71dcfada741192dbf78790c60488d927fa15c82f4bd0901edfa014",
"sha256": "6c291dba1e71dcfada741192dbf78790c60488d927fa15c82f4bd0901edfa014"
},
"x86_64_linux": {
"cellar": "/home/linuxbrew/.linuxbrew/Cellar",
"url": "https://ghcr.io/v2/homebrew/core/wget/blobs/sha256:09603bb2a51e4bdc94a9f4f3e66442ef6e401a2a2d244213066c58cceb686f95",
"sha256": "09603bb2a51e4bdc94a9f4f3e66442ef6e401a2a2d244213066c58cceb686f95"
}
}
}
},
"pour_bottle_only_if": null,
"keg_only": false,
"keg_only_reason": null,
"options": [],
"build_dependencies": [
"pkgconf"
],
"dependencies": [
"libidn2",
"openssl@3",
"gettext",
"libunistring"
],
"test_dependencies": [],
"recommended_dependencies": [],
"optional_dependencies": [],
"uses_from_macos": [],
"uses_from_macos_bounds": [],
"requirements": [],
"conflicts_with": [],
"conflicts_with_reasons": [],
"link_overwrite": [],
"caveats": null,
"installed": [],
"linked_keg": null,
"pinned": false,
"outdated": false,
"deprecated": false,
"deprecation_date": null,
"deprecation_reason": null,
"deprecation_replacement_formula": null,
"deprecation_replacement_cask": null,
"deprecate_args": null,
"disabled": false,
"disable_date": null,
"disable_reason": null,
"disable_replacement_formula": null,
"disable_replacement_cask": null,
"disable_args": null,
"post_install_defined": false,
"service": null,
"tap_git_head": "e0b790557be0c3e6c7f3fac421c7a81c63b56697",
"ruby_source_path": "Formula/w/wget.rb",
"ruby_source_checksum": {
"sha256": "a37b3230f18d41afc59376374618e281ba0177ae0b6bc73888a6d7c33436f00a"
},
"head_dependencies": {
"build_dependencies": [
"autoconf",
"automake",
"xz",
"pkgconf"
],
"dependencies": [
"libidn2",
"openssl@3",
"gettext",
"libunistring"
],
"test_dependencies": [],
"recommended_dependencies": [],
"optional_dependencies": [],
"uses_from_macos": [],
"uses_from_macos_bounds": []
},
"variations": {
"x86_64_linux": {
"dependencies": [
"libidn2",
"openssl@3",
"util-linux",
"zlib-ng-compat"
],
"head_dependencies": {
"build_dependencies": [
"autoconf",
"automake",
"xz",
"pkgconf"
],
"dependencies": [
"libidn2",
"openssl@3",
"util-linux",
"zlib-ng-compat"
],
"test_dependencies": [],
"recommended_dependencies": [],
"optional_dependencies": [],
"uses_from_macos": [],
"uses_from_macos_bounds": []
}
},
"arm64_linux": {
"dependencies": [
"libidn2",
"openssl@3",
"util-linux",
"zlib-ng-compat"
],
"head_dependencies": {
"build_dependencies": [
"autoconf",
"automake",
"xz",
"pkgconf"
],
"dependencies": [
"libidn2",
"openssl@3",
"util-linux",
"zlib-ng-compat"
],
"test_dependencies": [],
"recommended_dependencies": [],
"optional_dependencies": [],
"uses_from_macos": [],
"uses_from_macos_bounds": []
}
}
}
},
...
]
Get formula metadata for a Homebrew/core formula
Get the brew info --json --formula <formula> output for a single, current Homebrew/homebrew-core formula with extra keys containing analytics data and generation date.
curl https://formulae.brew.sh/api/formula/${FORMULA}.json
Variables:
${FORMULA}: the name of the formula, e.g.wget
{
"name": "wget",
"full_name": "wget",
"tap": "homebrew/core",
"oldnames": [],
"aliases": [],
"versioned_formulae": [],
"desc": "Internet file retriever",
"license": "GPL-3.0-or-later",
"homepage": "https://www.gnu.org/software/wget/",
"versions": {
"stable": "1.25.0",
"head": "HEAD",
"bottle": true
},
"urls": {
"stable": {
"url": "https://ftpmirror.gnu.org/gnu/wget/wget-1.25.0.tar.gz",
"tag": null,
"revision": null,
"using": null,
"checksum": "766e48423e79359ea31e41db9e5c289675947a7fcf2efdcedb726ac9d0da3784"
},
"head": {
"url": "https://git.savannah.gnu.org/git/wget.git",
"branch": "master",
"using": null
}
},
"revision": 0,
"version_scheme": 0,
"compatibility_version": null,
"autobump": false,
"no_autobump_message": "requires_manual_review",
"skip_livecheck": false,
"bottle": {
"stable": {
"rebuild": 1,
"root_url": "https://ghcr.io/v2/homebrew/core",
"files": {
"arm64_tahoe": {
"cellar": "/opt/homebrew/Cellar",
"url": "https://ghcr.io/v2/homebrew/core/wget/blobs/sha256:03be72d23a113a3273245b3e071667b611ea5d81dab6f52e995a84420d0ed734",
"sha256": "03be72d23a113a3273245b3e071667b611ea5d81dab6f52e995a84420d0ed734"
},
"arm64_sequoia": {
"cellar": "/opt/homebrew/Cellar",
"url": "https://ghcr.io/v2/homebrew/core/wget/blobs/sha256:d620e085be7df7e93c7a8e6dc98e71b7a2faedbb40e83daae9b823374ee9b09e",
"sha256": "d620e085be7df7e93c7a8e6dc98e71b7a2faedbb40e83daae9b823374ee9b09e"
},
"arm64_sonoma": {
"cellar": "/opt/homebrew/Cellar",
"url": "https://ghcr.io/v2/homebrew/core/wget/blobs/sha256:0611b16c2d24332fbb48cf1d75717b3ac3fc579a6ddac33ee1acaa791ff12e8e",
"sha256": "0611b16c2d24332fbb48cf1d75717b3ac3fc579a6ddac33ee1acaa791ff12e8e"
},
"sonoma": {
"cellar": "/usr/local/Cellar",
"url": "https://ghcr.io/v2/homebrew/core/wget/blobs/sha256:91995d4d44951e981c36879505e8e294d15e46bbd3ef3965caf94d55424e165b",
"sha256": "91995d4d44951e981c36879505e8e294d15e46bbd3ef3965caf94d55424e165b"
},
"arm64_linux": {
"cellar": "/home/linuxbrew/.linuxbrew/Cellar",
"url": "https://ghcr.io/v2/homebrew/core/wget/blobs/sha256:6c291dba1e71dcfada741192dbf78790c60488d927fa15c82f4bd0901edfa014",
"sha256": "6c291dba1e71dcfada741192dbf78790c60488d927fa15c82f4bd0901edfa014"
},
"x86_64_linux": {
"cellar": "/home/linuxbrew/.linuxbrew/Cellar",
"url": "https://ghcr.io/v2/homebrew/core/wget/blobs/sha256:09603bb2a51e4bdc94a9f4f3e66442ef6e401a2a2d244213066c58cceb686f95",
"sha256": "09603bb2a51e4bdc94a9f4f3e66442ef6e401a2a2d244213066c58cceb686f95"
}
}
}
},
"pour_bottle_only_if": null,
"keg_only": false,
"keg_only_reason": null,
"options": [],
"build_dependencies": [
"pkgconf"
],
"dependencies": [
"libidn2",
"openssl@3",
"gettext",
"libunistring"
],
"test_dependencies": [],
"recommended_dependencies": [],
"optional_dependencies": [],
"uses_from_macos": [],
"uses_from_macos_bounds": [],
"requirements": [],
"conflicts_with": [],
"conflicts_with_reasons": [],
"link_overwrite": [],
"caveats": null,
"installed": [],
"linked_keg": null,
"pinned": false,
"outdated": false,
"deprecated": false,
"deprecation_date": null,
"deprecation_reason": null,
"deprecation_replacement_formula": null,
"deprecation_replacement_cask": null,
"deprecate_args": null,
"disabled": false,
"disable_date": null,
"disable_reason": null,
"disable_replacement_formula": null,
"disable_replacement_cask": null,
"disable_args": null,
"post_install_defined": false,
"service": null,
"tap_git_head": "e0b790557be0c3e6c7f3fac421c7a81c63b56697",
"ruby_source_path": "Formula/w/wget.rb",
"ruby_source_checksum": {
"sha256": "a37b3230f18d41afc59376374618e281ba0177ae0b6bc73888a6d7c33436f00a"
},
"head_dependencies": {
"build_dependencies": [
"autoconf",
"automake",
"xz",
"pkgconf"
],
"dependencies": [
"libidn2",
"openssl@3",
"gettext",
"libunistring"
],
"test_dependencies": [],
"recommended_dependencies": [],
"optional_dependencies": [],
"uses_from_macos": [],
"uses_from_macos_bounds": []
},
"variations": {
"x86_64_linux": {
"dependencies": [
"libidn2",
"openssl@3",
"util-linux",
"zlib-ng-compat"
],
"head_dependencies": {
"build_dependencies": [
"autoconf",
"automake",
"xz",
"pkgconf"
],
"dependencies": [
"libidn2",
"openssl@3",
"util-linux",
"zlib-ng-compat"
],
"test_dependencies": [],
"recommended_dependencies": [],
"optional_dependencies": [],
"uses_from_macos": [],
"uses_from_macos_bounds": []
}
},
"arm64_linux": {
"dependencies": [
"libidn2",
"openssl@3",
"util-linux",
"zlib-ng-compat"
],
"head_dependencies": {
"build_dependencies": [
"autoconf",
"automake",
"xz",
"pkgconf"
],
"dependencies": [
"libidn2",
"openssl@3",
"util-linux",
"zlib-ng-compat"
],
"test_dependencies": [],
"recommended_dependencies": [],
"optional_dependencies": [],
"uses_from_macos": [],
"uses_from_macos_bounds": []
}
}
}
}
Get cask metadata for a Homebrew/cask cask
Get the brew info --json=v2 --cask <cask> JSON output for a single, current Homebrew/homebrew-cask cask with extra keys containing analytics data and generation date.
curl https://formulae.brew.sh/api/cask/${CASK}.json
Variables:
${CASK}: the name of the cask, e.g.docker-desktop
{
"token": "docker-desktop",
"full_token": "docker-desktop",
"old_tokens": [
"docker"
],
"tap": "homebrew/cask",
"name": [
"Docker Desktop",
"Docker Community Edition",
"Docker CE"
],
"desc": "App to build and share containerised applications and microservices",
"homepage": "https://www.docker.com/products/docker-desktop",
"url": "https://desktop.docker.com/mac/main/arm64/219486/Docker.dmg",
"url_specs": {},
"version": "4.62.0,219486",
"autobump": true,
"no_autobump_message": null,
"skip_livecheck": false,
"installed": null,
"installed_time": null,
"bundle_version": null,
"bundle_short_version": null,
"outdated": false,
"sha256": "7b314dfcdb9e04af52009ca48bb8caa58b0ca06bf4bde9aefc698479ddf8aa5d",
"artifacts": [
{
"uninstall": [
{
"launchctl": [
"com.docker.helper",
"com.docker.socket",
"com.docker.vmnetd"
],
"quit": "com.docker.docker",
"delete": [
"/Library/PrivilegedHelperTools/com.docker.socket",
"/Library/PrivilegedHelperTools/com.docker.vmnetd"
],
"rmdir": "~/.docker/bin"
}
]
},
{
"app": [
"Docker.app"
]
},
{
"bash_completion": [
"$APPDIR/Docker.app/Contents/Resources/etc/docker-compose.bash-completion"
]
},
{
"bash_completion": [
"$APPDIR/Docker.app/Contents/Resources/etc/docker.bash-completion"
]
},
{
"fish_completion": [
"$APPDIR/Docker.app/Contents/Resources/etc/docker-compose.fish-completion"
]
},
{
"fish_completion": [
"$APPDIR/Docker.app/Contents/Resources/etc/docker.fish-completion"
]
},
{
"zsh_completion": [
"$APPDIR/Docker.app/Contents/Resources/etc/docker-compose.zsh-completion"
]
},
{
"zsh_completion": [
"$APPDIR/Docker.app/Contents/Resources/etc/docker.zsh-completion"
]
},
{
"binary": [
"$APPDIR/Docker.app/Contents/Resources/cli-plugins/docker-compose",
{
"target": "/usr/local/cli-plugins/docker-compose"
}
]
},
{
"binary": [
"$APPDIR/Docker.app/Contents/Resources/bin/hub-tool",
{
"target": "/usr/local/bin/hub-tool"
}
]
},
{
"binary": [
"$APPDIR/Docker.app/Contents/Resources/bin/kubectl",
{
"target": "/usr/local/bin/kubectl.docker"
}
]
},
{
"binary": [
"$APPDIR/Docker.app/Contents/Resources/bin/docker",
{
"target": "/usr/local/bin/docker"
}
]
},
{
"binary": [
"$APPDIR/Docker.app/Contents/Resources/bin/docker-credential-desktop",
{
"target": "/usr/local/bin/docker-credential-desktop"
}
]
},
{
"binary": [
"$APPDIR/Docker.app/Contents/Resources/bin/docker-credential-ecr-login",
{
"target": "/usr/local/bin/docker-credential-ecr-login"
}
]
},
{
"binary": [
"$APPDIR/Docker.app/Contents/Resources/bin/docker-credential-osxkeychain",
{
"target": "/usr/local/bin/docker-credential-osxkeychain"
}
]
},
{
"postflight": null
},
{
"uninstall_postflight": null
},
{
"zap": [
{
"trash": [
"/usr/local/bin/docker-compose.backup",
"/usr/local/bin/docker.backup",
"~/.docker",
"~/Library/Application Scripts/com.docker.helper",
"~/Library/Application Scripts/group.com.docker",
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.docker.helper.sfl*",
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.electron.dockerdesktop.sfl*",
"~/Library/Application Support/com.bugsnag.Bugsnag/com.docker.docker",
"~/Library/Application Support/Docker Desktop",
"~/Library/Caches/com.docker.docker",
"~/Library/Caches/com.plausiblelabs.crashreporter.data/com.docker.docker",
"~/Library/Caches/KSCrashReports/Docker",
"~/Library/Containers/com.docker.docker",
"~/Library/Containers/com.docker.helper",
"~/Library/Group Containers/group.com.docker",
"~/Library/HTTPStorages/com.docker.docker",
"~/Library/HTTPStorages/com.docker.docker.binarycookies",
"~/Library/Logs/Docker Desktop",
"~/Library/Preferences/com.docker.docker.plist",
"~/Library/Preferences/com.electron.docker-frontend.plist",
"~/Library/Preferences/com.electron.dockerdesktop.plist",
"~/Library/Saved Application State/com.electron.docker-frontend.savedState",
"~/Library/Saved Application State/com.electron.dockerdesktop.savedState"
],
"rmdir": [
"~/Library/Caches/com.plausiblelabs.crashreporter.data",
"~/Library/Caches/KSCrashReports"
]
}
]
}
],
"caveats": null,
"depends_on": {
"macos": {
">=": [
"14"
]
}
},
"conflicts_with": {
"cask": [
"rancher"
]
},
"container": null,
"rename": [],
"auto_updates": true,
"deprecated": false,
"deprecation_date": null,
"deprecation_reason": null,
"deprecation_replacement_formula": null,
"deprecation_replacement_cask": null,
"deprecate_args": null,
"disabled": false,
"disable_date": null,
"disable_reason": null,
"disable_replacement_formula": null,
"disable_replacement_cask": null,
"disable_args": null,
"tap_git_head": "4cedd75bf0b722daa7418b857d695d31e8e879c4",
"languages": [],
"ruby_source_path": "Casks/d/docker-desktop.rb",
"ruby_source_checksum": {
"sha256": "20747ef75439a2bc22fe97b1608d3bf600e0c27fc54bd023c541feed0dc65d6d"
},
"variations": {
"tahoe": {
"url": "https://desktop.docker.com/mac/main/amd64/219486/Docker.dmg",
"sha256": "4c8415c627ad042b28b8324edefbd6fef4de6298ad715ef6c89aa913cf569ad0",
"artifacts": [
{
"uninstall": [
{
"launchctl": [
"com.docker.helper",
"com.docker.socket",
"com.docker.vmnetd"
],
"quit": "com.docker.docker",
"delete": [
"/Library/PrivilegedHelperTools/com.docker.socket",
"/Library/PrivilegedHelperTools/com.docker.vmnetd"
],
"rmdir": "~/.docker/bin"
}
]
},
{
"app": [
"Docker.app"
]
},
{
"binary": [
"$APPDIR/Docker.app/Contents/Resources/bin/docker-credential-desktop",
{
"target": "/usr/local/bin/docker-credential-desktop"
}
]
},
{
"binary": [
"$APPDIR/Docker.app/Contents/Resources/bin/docker-credential-ecr-login",
{
"target": "/usr/local/bin/docker-credential-ecr-login"
}
]
},
{
"binary": [
"$APPDIR/Docker.app/Contents/Resources/bin/docker-credential-osxkeychain",
{
"target": "/usr/local/bin/docker-credential-osxkeychain"
}
]
},
{
"binary": [
"$APPDIR/Docker.app/Contents/Resources/bin/hub-tool",
{
"target": "/usr/local/bin/hub-tool"
}
]
},
{
"binary": [
"$APPDIR/Docker.app/Contents/Resources/bin/kubectl",
{
"target": "/usr/local/bin/kubectl.docker"
}
]
},
{
"binary": [
"$APPDIR/Docker.app/Contents/Resources/cli-plugins/docker-compose",
{
"target": "/usr/local/cli-plugins/docker-compose"
}
]
},
{
"bash_completion": [
"$APPDIR/Docker.app/Contents/Resources/etc/docker-compose.bash-completion"
]
},
{
"bash_completion": [
"$APPDIR/Docker.app/Contents/Resources/etc/docker.bash-completion"
]
},
{
"fish_completion": [
"$APPDIR/Docker.app/Contents/Resources/etc/docker-compose.fish-completion"
]
},
{
"fish_completion": [
"$APPDIR/Docker.app/Contents/Resources/etc/docker.fish-completion"
]
},
{
"zsh_completion": [
"$APPDIR/Docker.app/Contents/Resources/etc/docker-compose.zsh-completion"
]
},
{
"zsh_completion": [
"$APPDIR/Docker.app/Contents/Resources/etc/docker.zsh-completion"
]
},
{
"binary": [
"$APPDIR/Docker.app/Contents/Resources/bin/com.docker.hyperkit",
{
"target": "/usr/local/bin/hyperkit"
}
]
},
{
"binary": [
"$APPDIR/Docker.app/Contents/Resources/bin/docker",
{
"target": "/usr/local/bin/docker"
}
]
},
{
"uninstall_postflight": null
},
{
"postflight": null
},
{
"zap": [
{
"trash": [
"/usr/local/bin/docker-compose.backup",
"/usr/local/bin/docker.backup",
"~/.docker",
"~/Library/Application Scripts/com.docker.helper",
"~/Library/Application Scripts/group.com.docker",
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.docker.helper.sfl*",
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.electron.dockerdesktop.sfl*",
"~/Library/Application Support/com.bugsnag.Bugsnag/com.docker.docker",
"~/Library/Application Support/Docker Desktop",
"~/Library/Caches/com.docker.docker",
"~/Library/Caches/com.plausiblelabs.crashreporter.data/com.docker.docker",
"~/Library/Caches/KSCrashReports/Docker",
"~/Library/Containers/com.docker.docker",
"~/Library/Containers/com.docker.helper",
"~/Library/Group Containers/group.com.docker",
"~/Library/HTTPStorages/com.docker.docker",
"~/Library/HTTPStorages/com.docker.docker.binarycookies",
"~/Library/Logs/Docker Desktop",
"~/Library/Preferences/com.docker.docker.plist",
"~/Library/Preferences/com.electron.docker-frontend.plist",
"~/Library/Preferences/com.electron.dockerdesktop.plist",
"~/Library/Saved Application State/com.electron.docker-frontend.savedState",
"~/Library/Saved Application State/com.electron.dockerdesktop.savedState"
],
"rmdir": [
"~/Library/Caches/com.plausiblelabs.crashreporter.data",
"~/Library/Caches/KSCrashReports"
]
}
]
}
]
},
"sequoia": {
"url": "https://desktop.docker.com/mac/main/amd64/219486/Docker.dmg",
"sha256": "4c8415c627ad042b28b8324edefbd6fef4de6298ad715ef6c89aa913cf569ad0",
"artifacts": [
{
"uninstall": [
{
"launchctl": [
"com.docker.helper",
"com.docker.socket",
"com.docker.vmnetd"
],
"quit": "com.docker.docker",
"delete": [
"/Library/PrivilegedHelperTools/com.docker.socket",
"/Library/PrivilegedHelperTools/com.docker.vmnetd"
],
"rmdir": "~/.docker/bin"
}
]
},
{
"app": [
"Docker.app"
]
},
{
"binary": [
"$APPDIR/Docker.app/Contents/Resources/bin/docker-credential-desktop",
{
"target": "/usr/local/bin/docker-credential-desktop"
}
]
},
{
"binary": [
"$APPDIR/Docker.app/Contents/Resources/bin/docker-credential-ecr-login",
{
"target": "/usr/local/bin/docker-credential-ecr-login"
}
]
},
{
"binary": [
"$APPDIR/Docker.app/Contents/Resources/bin/docker-credential-osxkeychain",
{
"target": "/usr/local/bin/docker-credential-osxkeychain"
}
]
},
{
"binary": [
"$APPDIR/Docker.app/Contents/Resources/bin/hub-tool",
{
"target": "/usr/local/bin/hub-tool"
}
]
},
{
"binary": [
"$APPDIR/Docker.app/Contents/Resources/bin/kubectl",
{
"target": "/usr/local/bin/kubectl.docker"
}
]
},
{
"binary": [
"$APPDIR/Docker.app/Contents/Resources/cli-plugins/docker-compose",
{
"target": "/usr/local/cli-plugins/docker-compose"
}
]
},
{
"bash_completion": [
"$APPDIR/Docker.app/Contents/Resources/etc/docker-compose.bash-completion"
]
},
{
"bash_completion": [
"$APPDIR/Docker.app/Contents/Resources/etc/docker.bash-completion"
]
},
{
"fish_completion": [
"$APPDIR/Docker.app/Contents/Resources/etc/docker-compose.fish-completion"
]
},
{
"fish_completion": [
"$APPDIR/Docker.app/Contents/Resources/etc/docker.fish-completion"
]
},
{
"zsh_completion": [
"$APPDIR/Docker.app/Contents/Resources/etc/docker-compose.zsh-completion"
]
},
{
"zsh_completion": [
"$APPDIR/Docker.app/Contents/Resources/etc/docker.zsh-completion"
]
},
{
"binary": [
"$APPDIR/Docker.app/Contents/Resources/bin/com.docker.hyperkit",
{
"target": "/usr/local/bin/hyperkit"
}
]
},
{
"binary": [
"$APPDIR/Docker.app/Contents/Resources/bin/docker",
{
"target": "/usr/local/bin/docker"
}
]
},
{
"uninstall_postflight": null
},
{
"postflight": null
},
{
"zap": [
{
"trash": [
"/usr/local/bin/docker-compose.backup",
"/usr/local/bin/docker.backup",
"~/.docker",
"~/Library/Application Scripts/com.docker.helper",
"~/Library/Application Scripts/group.com.docker",
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.docker.helper.sfl*",
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.electron.dockerdesktop.sfl*",
"~/Library/Application Support/com.bugsnag.Bugsnag/com.docker.docker",
"~/Library/Application Support/Docker Desktop",
"~/Library/Caches/com.docker.docker",
"~/Library/Caches/com.plausiblelabs.crashreporter.data/com.docker.docker",
"~/Library/Caches/KSCrashReports/Docker",
"~/Library/Containers/com.docker.docker",
"~/Library/Containers/com.docker.helper",
"~/Library/Group Containers/group.com.docker",
"~/Library/HTTPStorages/com.docker.docker",
"~/Library/HTTPStorages/com.docker.docker.binarycookies",
"~/Library/Logs/Docker Desktop",
"~/Library/Preferences/com.docker.docker.plist",
"~/Library/Preferences/com.electron.docker-frontend.plist",
"~/Library/Preferences/com.electron.dockerdesktop.plist",
"~/Library/Saved Application State/com.electron.docker-frontend.savedState",
"~/Library/Saved Application State/com.electron.dockerdesktop.savedState"
],
"rmdir": [
"~/Library/Caches/com.plausiblelabs.crashreporter.data",
"~/Library/Caches/KSCrashReports"
]
}
]
}
]
},
"sonoma": {
"url": "https://desktop.docker.com/mac/main/amd64/219486/Docker.dmg",
"sha256": "4c8415c627ad042b28b8324edefbd6fef4de6298ad715ef6c89aa913cf569ad0",
"artifacts": [
{
"uninstall": [
{
"launchctl": [
"com.docker.helper",
"com.docker.socket",
"com.docker.vmnetd"
],
"quit": "com.docker.docker",
"delete": [
"/Library/PrivilegedHelperTools/com.docker.socket",
"/Library/PrivilegedHelperTools/com.docker.vmnetd"
],
"rmdir": "~/.docker/bin"
}
]
},
{
"app": [
"Docker.app"
]
},
{
"binary": [
"$APPDIR/Docker.app/Contents/Resources/bin/docker-credential-desktop",
{
"target": "/usr/local/bin/docker-credential-desktop"
}
]
},
{
"binary": [
"$APPDIR/Docker.app/Contents/Resources/bin/docker-credential-ecr-login",
{
"target": "/usr/local/bin/docker-credential-ecr-login"
}
]
},
{
"binary": [
"$APPDIR/Docker.app/Contents/Resources/bin/docker-credential-osxkeychain",
{
"target": "/usr/local/bin/docker-credential-osxkeychain"
}
]
},
{
"binary": [
"$APPDIR/Docker.app/Contents/Resources/bin/hub-tool",
{
"target": "/usr/local/bin/hub-tool"
}
]
},
{
"binary": [
"$APPDIR/Docker.app/Contents/Resources/bin/kubectl",
{
"target": "/usr/local/bin/kubectl.docker"
}
]
},
{
"binary": [
"$APPDIR/Docker.app/Contents/Resources/cli-plugins/docker-compose",
{
"target": "/usr/local/cli-plugins/docker-compose"
}
]
},
{
"bash_completion": [
"$APPDIR/Docker.app/Contents/Resources/etc/docker-compose.bash-completion"
]
},
{
"bash_completion": [
"$APPDIR/Docker.app/Contents/Resources/etc/docker.bash-completion"
]
},
{
"fish_completion": [
"$APPDIR/Docker.app/Contents/Resources/etc/docker-compose.fish-completion"
]
},
{
"fish_completion": [
"$APPDIR/Docker.app/Contents/Resources/etc/docker.fish-completion"
]
},
{
"zsh_completion": [
"$APPDIR/Docker.app/Contents/Resources/etc/docker-compose.zsh-completion"
]
},
{
"zsh_completion": [
"$APPDIR/Docker.app/Contents/Resources/etc/docker.zsh-completion"
]
},
{
"binary": [
"$APPDIR/Docker.app/Contents/Resources/bin/com.docker.hyperkit",
{
"target": "/usr/local/bin/hyperkit"
}
]
},
{
"binary": [
"$APPDIR/Docker.app/Contents/Resources/bin/docker",
{
"target": "/usr/local/bin/docker"
}
]
},
{
"uninstall_postflight": null
},
{
"postflight": null
},
{
"zap": [
{
"trash": [
"/usr/local/bin/docker-compose.backup",
"/usr/local/bin/docker.backup",
"~/.docker",
"~/Library/Application Scripts/com.docker.helper",
"~/Library/Application Scripts/group.com.docker",
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.docker.helper.sfl*",
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.electron.dockerdesktop.sfl*",
"~/Library/Application Support/com.bugsnag.Bugsnag/com.docker.docker",
"~/Library/Application Support/Docker Desktop",
"~/Library/Caches/com.docker.docker",
"~/Library/Caches/com.plausiblelabs.crashreporter.data/com.docker.docker",
"~/Library/Caches/KSCrashReports/Docker",
"~/Library/Containers/com.docker.docker",
"~/Library/Containers/com.docker.helper",
"~/Library/Group Containers/group.com.docker",
"~/Library/HTTPStorages/com.docker.docker",
"~/Library/HTTPStorages/com.docker.docker.binarycookies",
"~/Library/Logs/Docker Desktop",
"~/Library/Preferences/com.docker.docker.plist",
"~/Library/Preferences/com.electron.docker-frontend.plist",
"~/Library/Preferences/com.electron.dockerdesktop.plist",
"~/Library/Saved Application State/com.electron.docker-frontend.savedState",
"~/Library/Saved Application State/com.electron.dockerdesktop.savedState"
],
"rmdir": [
"~/Library/Caches/com.plausiblelabs.crashreporter.data",
"~/Library/Caches/KSCrashReports"
]
}
]
}
]
}
}
}
Analytics
List one category of analytics events
List all analytics events for a specified category over a number of days, ordered by event frequency count. This is the data source for brew info --analytics.
curl https://formulae.brew.sh/api/analytics/${CATEGORY}/${DAYS}.json
Variables:
${CATEGORY}: the analytics event category, i.e.install: the installation of all formulaeinstall-on-request: the requested installation of all formulae (i.e. not as a dependency of other formulae)build-error: the installation failure of all formulae
${DAYS}: the number of days of analytics events, i.e.30d: 30 days90d: 90 days365d: 365 days
{
"category": "formula_install",
"total_items": 22158,
"start_date": "2026-01-30",
"end_date": "2026-03-01",
"total_count": 26951086,
"items": [
...
{
"number": 217,
"formula": "wget",
"count": "28,116",
"percent": "0.10"
},
...
]
}
List analytics events for all Homebrew/core formulae
List all the Homebrew/homebrew-core formulae’s analytics events for a specified category over a number of days, grouped by formula name. This is the data source for brew info --analytics --formula <formula>.
curl https://formulae.brew.sh/api/analytics/${CATEGORY}/homebrew-core/${DAYS}.json
Variables:
${CATEGORY}: the analytics event category, i.e.install: the installation of all core formulaeinstall-on-request: the requested installation of all core formulae (i.e. not as a dependency of other formulae)build-error: the installation failure of all core formulae- only
${DAYS}: 30d(30 days) is available
- only
${DAYS}: the number of days of analytics events, i.e.30d: 30 days90d: 90 days365d: 365 days
{
"category": "formula_install",
"total_items": 12832,
"start_date": "2026-01-30",
"end_date": "2026-03-01",
"total_count": 25888614,
"formulae": {
...
"wget": [
{
"formula": "wget",
"count": "28,073"
},
{
"formula": "wget --HEAD",
"count": "41"
},
...
],
...
}
}
List analytics events for all Homebrew/cask casks
List all the Homebrew/homebrew-cask cask’s analytics events for the cask-install category over a number of days, grouped by cask token.
This is the data source for brew info --analytics --cask <cask>.
curl https://formulae.brew.sh/api/analytics/cask-install/homebrew-cask/${DAYS}.json
Variables:
${DAYS}: the number of days of analytics events, i.e.30d: 30 days90d: 90 days365d: 365 days
{
"category": "cask_install",
"total_items": 6875,
"start_date": "2026-01-30",
"end_date": "2026-03-01",
"total_count": 2108055,
"formulae": {
...
"docker": [
{
"cask": "docker",
"count": "22"
}
],
...
}
}