List the brew info --json --all
output for all current Homebrew/homebrew-core or Homebrew/homebrew-cask formulae.
GET https://formulae.brew.sh/api/formula.json
GET https://formulae.brew.sh/api/cask.json
[
...
{
"name": "wget",
"full_name": "wget",
"tap": "homebrew/core",
"oldname": null,
"aliases": [],
"versioned_formulae": [],
"desc": "Internet file retriever",
"license": "GPL-3.0-or-later",
"homepage": "https://www.gnu.org/software/wget/",
"versions": {
"stable": "1.21.3",
"head": "HEAD",
"bottle": true
},
"urls": {
"stable": {
"url": "https://ftp.gnu.org/gnu/wget/wget-1.21.3.tar.gz",
"tag": null,
"revision": null
}
},
"revision": 0,
"version_scheme": 0,
"bottle": {
"stable": {
"rebuild": 0,
"root_url": "https://ghcr.io/v2/homebrew/core",
"files": {
"arm64_monterey": {
"cellar": "/opt/homebrew/Cellar",
"url": "https://ghcr.io/v2/homebrew/core/wget/blobs/sha256:fc83eec77acee50d2d7ce3bb0cca08d80acccc148e909921de42e57dd5fc7f3d",
"sha256": "fc83eec77acee50d2d7ce3bb0cca08d80acccc148e909921de42e57dd5fc7f3d"
},
"arm64_big_sur": {
"cellar": "/opt/homebrew/Cellar",
"url": "https://ghcr.io/v2/homebrew/core/wget/blobs/sha256:a0c491ae7de2b722320efa94704567e36f3a0bd04bd946b1431ecbd1bcbfb899",
"sha256": "a0c491ae7de2b722320efa94704567e36f3a0bd04bd946b1431ecbd1bcbfb899"
},
"monterey": {
"cellar": "/usr/local/Cellar",
"url": "https://ghcr.io/v2/homebrew/core/wget/blobs/sha256:aa706c58ae7e97abf91be56e785335aff058c431f9973dffac06aacbea558497",
"sha256": "aa706c58ae7e97abf91be56e785335aff058c431f9973dffac06aacbea558497"
},
"big_sur": {
"cellar": "/usr/local/Cellar",
"url": "https://ghcr.io/v2/homebrew/core/wget/blobs/sha256:b90e0d7a4319ccdb18ee0c2ed097e9cddeeceaaf70dc0a785d96b4ba69dbeb54",
"sha256": "b90e0d7a4319ccdb18ee0c2ed097e9cddeeceaaf70dc0a785d96b4ba69dbeb54"
},
"catalina": {
"cellar": "/usr/local/Cellar",
"url": "https://ghcr.io/v2/homebrew/core/wget/blobs/sha256:2aadef5aae81ecdd7e28bc9a776adcf0eaa393edae904e0c69740a442b7a3e69",
"sha256": "2aadef5aae81ecdd7e28bc9a776adcf0eaa393edae904e0c69740a442b7a3e69"
},
"x86_64_linux": {
"cellar": "/home/linuxbrew/.linuxbrew/Cellar",
"url": "https://ghcr.io/v2/homebrew/core/wget/blobs/sha256:b6f20b1f4da03b9ee6a42f9305ee015eae7f80afea198e405c0b775eb2333de1",
"sha256": "b6f20b1f4da03b9ee6a42f9305ee015eae7f80afea198e405c0b775eb2333de1"
}
}
}
},
"keg_only": false,
"keg_only_reason": null,
"options": [],
"build_dependencies": [
"pkg-config"
],
"dependencies": [
"libidn2",
"openssl@1.1"
],
"recommended_dependencies": [],
"optional_dependencies": [],
"uses_from_macos": [],
"requirements": [],
"conflicts_with": [],
"caveats": null,
"installed": [
{
"version": "1.21.3",
"used_options": [],
"built_as_bottle": true,
"poured_from_bottle": true,
"runtime_dependencies": [
{
"full_name": "gettext",
"version": "0.21",
"declared_directly": false
},
{
"full_name": "libunistring",
"version": "1.0",
"declared_directly": false
},
{
"full_name": "libidn2",
"version": "2.3.3",
"declared_directly": true
},
{
"full_name": "ca-certificates",
"version": "2022-07-19",
"declared_directly": false
},
{
"full_name": "openssl@1.1",
"version": "1.1.1q",
"declared_directly": true
}
],
"installed_as_dependency": false,
"installed_on_request": true
}
],
"linked_keg": "1.21.3",
"pinned": false,
"outdated": false,
"deprecated": false,
"deprecation_date": null,
"deprecation_reason": null,
"disabled": false,
"disable_date": null,
"disable_reason": null,
"variations": {
"x86_64_linux": {
"dependencies": [
"libidn2",
"openssl@1.1",
"util-linux"
]
}
}
},
...
]
List the latest version information for each formula or cask in the given tap. The result is a single JSON object with formula/cask names as keys. The values are JSON objects containing version
and, for formulae, revision
keys.
GET https://formulae.brew.sh/api/versions-formulae.json
GET https://formulae.brew.sh/api/versions-casks.json
{
...
"wget": {
"version": "1.21.3",
"revision": 0
},
...
"zsh": {
"version": "5.9",
"revision": 0
},
...
}
{
...
"docker": {
"version": "4.11.1,84025",
"versions": {}
},
...
"onyx": {
"version": "4.0.2",
"versions": {
"ventura": "4.2.2",
"monterey": "4.2.2",
"catalina": "3.8.7",
"mojave": "3.6.8",
"high_sierra": "3.4.9",
"sierra": "3.3.1",
"el_capitan": "3.1.9"
}
},
...
}
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.
GET https://formulae.brew.sh/api/formula/${FORMULA}.json
${FORMULA}
: the name of the formula, e.g. wget
{
"name": "wget",
"full_name": "wget",
"tap": "homebrew/core",
"oldname": null,
"aliases": [],
"versioned_formulae": [],
"desc": "Internet file retriever",
"license": "GPL-3.0-or-later",
"homepage": "https://www.gnu.org/software/wget/",
"versions": {
"stable": "1.21.3",
"head": "HEAD",
"bottle": true
},
"urls": {
"stable": {
"url": "https://ftp.gnu.org/gnu/wget/wget-1.21.3.tar.gz",
"tag": null,
"revision": null
}
},
"revision": 0,
"version_scheme": 0,
"bottle": {
"stable": {
"rebuild": 0,
"root_url": "https://ghcr.io/v2/homebrew/core",
"files": {
"arm64_monterey": {
"cellar": "/opt/homebrew/Cellar",
"url": "https://ghcr.io/v2/homebrew/core/wget/blobs/sha256:fc83eec77acee50d2d7ce3bb0cca08d80acccc148e909921de42e57dd5fc7f3d",
"sha256": "fc83eec77acee50d2d7ce3bb0cca08d80acccc148e909921de42e57dd5fc7f3d"
},
"arm64_big_sur": {
"cellar": "/opt/homebrew/Cellar",
"url": "https://ghcr.io/v2/homebrew/core/wget/blobs/sha256:a0c491ae7de2b722320efa94704567e36f3a0bd04bd946b1431ecbd1bcbfb899",
"sha256": "a0c491ae7de2b722320efa94704567e36f3a0bd04bd946b1431ecbd1bcbfb899"
},
"monterey": {
"cellar": "/usr/local/Cellar",
"url": "https://ghcr.io/v2/homebrew/core/wget/blobs/sha256:aa706c58ae7e97abf91be56e785335aff058c431f9973dffac06aacbea558497",
"sha256": "aa706c58ae7e97abf91be56e785335aff058c431f9973dffac06aacbea558497"
},
"big_sur": {
"cellar": "/usr/local/Cellar",
"url": "https://ghcr.io/v2/homebrew/core/wget/blobs/sha256:b90e0d7a4319ccdb18ee0c2ed097e9cddeeceaaf70dc0a785d96b4ba69dbeb54",
"sha256": "b90e0d7a4319ccdb18ee0c2ed097e9cddeeceaaf70dc0a785d96b4ba69dbeb54"
},
"catalina": {
"cellar": "/usr/local/Cellar",
"url": "https://ghcr.io/v2/homebrew/core/wget/blobs/sha256:2aadef5aae81ecdd7e28bc9a776adcf0eaa393edae904e0c69740a442b7a3e69",
"sha256": "2aadef5aae81ecdd7e28bc9a776adcf0eaa393edae904e0c69740a442b7a3e69"
},
"x86_64_linux": {
"cellar": "/home/linuxbrew/.linuxbrew/Cellar",
"url": "https://ghcr.io/v2/homebrew/core/wget/blobs/sha256:b6f20b1f4da03b9ee6a42f9305ee015eae7f80afea198e405c0b775eb2333de1",
"sha256": "b6f20b1f4da03b9ee6a42f9305ee015eae7f80afea198e405c0b775eb2333de1"
}
}
}
},
"keg_only": false,
"keg_only_reason": null,
"options": [],
"build_dependencies": [
"pkg-config"
],
"dependencies": [
"libidn2",
"openssl@1.1"
],
"recommended_dependencies": [],
"optional_dependencies": [],
"uses_from_macos": [],
"requirements": [],
"conflicts_with": [],
"caveats": null,
"installed": [
{
"version": "1.21.3",
"used_options": [],
"built_as_bottle": true,
"poured_from_bottle": true,
"runtime_dependencies": [
{
"full_name": "gettext",
"version": "0.21",
"declared_directly": false
},
{
"full_name": "libunistring",
"version": "1.0",
"declared_directly": false
},
{
"full_name": "libidn2",
"version": "2.3.3",
"declared_directly": true
},
{
"full_name": "ca-certificates",
"version": "2022-07-19",
"declared_directly": false
},
{
"full_name": "openssl@1.1",
"version": "1.1.1q",
"declared_directly": true
}
],
"installed_as_dependency": false,
"installed_on_request": true
}
],
"linked_keg": "1.21.3",
"pinned": false,
"outdated": false,
"deprecated": false,
"deprecation_date": null,
"deprecation_reason": null,
"disabled": false,
"disable_date": null,
"disable_reason": null,
"variations": {
"x86_64_linux": {
"dependencies": [
"libidn2",
"openssl@1.1",
"util-linux"
]
}
},
"analytics": {
"install": {
"30d": {
"wget": 115356,
"wget --HEAD": 7
},
"90d": {
"wget": 349823,
"wget --HEAD": 13
},
"365d": {
"wget": 1899904,
"wget --HEAD": 78,
"wget --with-limit-size": 1
}
},
"install_on_request": {
"30d": {
"wget": 114759,
"wget --HEAD": 7
},
"90d": {
"wget": 347881,
"wget --HEAD": 13
},
"365d": {
"wget": 1890762,
"wget --HEAD": 75,
"wget --with-limit-size": 1
}
},
"build_error": {
"30d": {
"wget": 17,
"wget --HEAD": 6
}
}
},
"analytics-linux": {
"install": {
"30d": {
"wget": 1360
},
"90d": {
"wget": 3582
},
"365d": {
"wget": 13640,
"wget --HEAD": 2
}
},
"install_on_request": {
"30d": {
"wget": 1338
},
"90d": {
"wget": 3529
},
"365d": {
"wget": 13338,
"wget --HEAD": 2
}
},
"build_error": {
"30d": {
"wget": 0
}
}
},
"generated_date": "2022-08-18"
}
Get the brew info --json --bottle --formula <formula>
output for a single, current Homebrew/homebrew-core formula.
GET https://formulae.brew.sh/api/bottle/${FORMULA}.json
${FORMULA}
: the name of the formula, e.g. wget
{
"name": "wget",
"pkg_version": "1.21.3",
"rebuild": 0,
"bottles": {
"arm64_monterey": {
"url": "https://ghcr.io/v2/homebrew/core/wget/blobs/sha256:fc83eec77acee50d2d7ce3bb0cca08d80acccc148e909921de42e57dd5fc7f3d"
},
"arm64_big_sur": {
"url": "https://ghcr.io/v2/homebrew/core/wget/blobs/sha256:a0c491ae7de2b722320efa94704567e36f3a0bd04bd946b1431ecbd1bcbfb899"
},
"monterey": {
"url": "https://ghcr.io/v2/homebrew/core/wget/blobs/sha256:aa706c58ae7e97abf91be56e785335aff058c431f9973dffac06aacbea558497"
},
"big_sur": {
"url": "https://ghcr.io/v2/homebrew/core/wget/blobs/sha256:b90e0d7a4319ccdb18ee0c2ed097e9cddeeceaaf70dc0a785d96b4ba69dbeb54"
},
"catalina": {
"url": "https://ghcr.io/v2/homebrew/core/wget/blobs/sha256:2aadef5aae81ecdd7e28bc9a776adcf0eaa393edae904e0c69740a442b7a3e69"
},
"x86_64_linux": {
"url": "https://ghcr.io/v2/homebrew/core/wget/blobs/sha256:b6f20b1f4da03b9ee6a42f9305ee015eae7f80afea198e405c0b775eb2333de1"
}
},
"dependencies": [
{
"name": "gettext",
"pkg_version": "0.21",
"rebuild": 0,
"bottles": {
"arm64_monterey": {
"url": "https://ghcr.io/v2/homebrew/core/gettext/blobs/sha256:6e2c829031949c0cbd758d0701ed62c191387736e76a98a046c0619907632225"
},
"arm64_big_sur": {
"url": "https://ghcr.io/v2/homebrew/core/gettext/blobs/sha256:339b62b52ba86dfa73091d37341104b46c01ae354ca425000732df689305442b"
},
"monterey": {
"url": "https://ghcr.io/v2/homebrew/core/gettext/blobs/sha256:0e93b5264879cd5ece6efb644fd6320b0b96cce36de3901c1926e53f851d14c7"
},
"big_sur": {
"url": "https://ghcr.io/v2/homebrew/core/gettext/blobs/sha256:a025e143fe3f5f7e24a936b8b0a4926acfdd025b11d62024e3d355c106536d56"
},
"catalina": {
"url": "https://ghcr.io/v2/homebrew/core/gettext/blobs/sha256:cdea54f52b7c36ebcb5fe26a1cf736d7cd6fd5f2fd016dd8357a8624ffd6b5f8"
},
"mojave": {
"url": "https://ghcr.io/v2/homebrew/core/gettext/blobs/sha256:99707d4dcc731faf980333365a694e9500f2f012f84c0bcb6d8cb5d620c2ce08"
},
"high_sierra": {
"url": "https://ghcr.io/v2/homebrew/core/gettext/blobs/sha256:5ac5783e31205b92907b46bfaaa142620aea7ee3fc4d996876b0913fd2315695"
},
"x86_64_linux": {
"url": "https://ghcr.io/v2/homebrew/core/gettext/blobs/sha256:33f840e667c6ee0f674adb279e644ca4a1b3cd1606894c85d9bbce1b5acc0273"
}
}
},
{
"name": "libunistring",
"pkg_version": "1.0",
"rebuild": 0,
"bottles": {
"arm64_monterey": {
"url": "https://ghcr.io/v2/homebrew/core/libunistring/blobs/sha256:b8b2f6fe30eefd002bf0dbb5fc0e5c6dc0d5f9b9219f4d6fcddc48e3bc229b23"
},
"arm64_big_sur": {
"url": "https://ghcr.io/v2/homebrew/core/libunistring/blobs/sha256:df13d54b58c8c86c0e609f7343677175eae0a58ba0cceabbceb08023d23021c3"
},
"monterey": {
"url": "https://ghcr.io/v2/homebrew/core/libunistring/blobs/sha256:18a1691229db1dbc9c716236df52f447aa9949121c36ae65b4d6fdf284d260c6"
},
"big_sur": {
"url": "https://ghcr.io/v2/homebrew/core/libunistring/blobs/sha256:50c3003f7db296810b0fbebdb86d94edd88f56195c48327f615d6ef52608628e"
},
"catalina": {
"url": "https://ghcr.io/v2/homebrew/core/libunistring/blobs/sha256:3b5bb302d087ae03b3a87b0d722a3db1a66dc83ff45f77e624a62590c3d0c95d"
},
"x86_64_linux": {
"url": "https://ghcr.io/v2/homebrew/core/libunistring/blobs/sha256:b1d76e62d1bafe89c7535ca21aad48fe99370b5353d0c4efeafe564db367401d"
}
}
},
{
"name": "libidn2",
"pkg_version": "2.3.3",
"rebuild": 0,
"bottles": {
"arm64_monterey": {
"url": "https://ghcr.io/v2/homebrew/core/libidn2/blobs/sha256:e2d5ad350bd11194d179b2bf199103ce3a0f4aa57cca95fc8ac1f0bc104912c3"
},
"arm64_big_sur": {
"url": "https://ghcr.io/v2/homebrew/core/libidn2/blobs/sha256:8ff0838515b514f57fffa8964669815e5fe9e9fc21eeb559210e1f5634ac5483"
},
"monterey": {
"url": "https://ghcr.io/v2/homebrew/core/libidn2/blobs/sha256:1ed7a729a0e671778e89599ccf3df8536e41b95b30052827ee2a53a252a06519"
},
"big_sur": {
"url": "https://ghcr.io/v2/homebrew/core/libidn2/blobs/sha256:80fd3d0e971eb6b2620141249d863232a382b0db606d7e95923cf2f753a41e3a"
},
"catalina": {
"url": "https://ghcr.io/v2/homebrew/core/libidn2/blobs/sha256:fc09aa5df61b841c40a23490df6b2d556772c927520d7e0aac099029a11dd768"
},
"x86_64_linux": {
"url": "https://ghcr.io/v2/homebrew/core/libidn2/blobs/sha256:0ceff03509ea09a0784aa40b7b724f40857dfac8e9e34b36ee93570c57eb1780"
}
}
},
{
"name": "ca-certificates",
"pkg_version": "2022-07-19_1",
"rebuild": 0,
"bottles": {
"all": {
"url": "https://ghcr.io/v2/homebrew/core/ca-certificates/blobs/sha256:9e0df163364a5ae07f3ee2cf39083cd74bcb38eeb5250b706e1c02f878d8d632"
}
}
},
{
"name": "openssl@1.1",
"pkg_version": "1.1.1q",
"rebuild": 0,
"bottles": {
"arm64_monterey": {
"url": "https://ghcr.io/v2/homebrew/core/openssl/1.1/blobs/sha256:4e7b6cb2252c554a8e25ecae960f2fcd9a7fa742aa3fc99e6b533bb4e5d32483"
},
"arm64_big_sur": {
"url": "https://ghcr.io/v2/homebrew/core/openssl/1.1/blobs/sha256:f0b206023866473514bd5540dc8d2ba18967625d3befee6191bab8f1878f9b6c"
},
"monterey": {
"url": "https://ghcr.io/v2/homebrew/core/openssl/1.1/blobs/sha256:b4dabe01061f98a870548cc1bb5a18b68bcbc9021dc87781ead6e3e29a9abadc"
},
"big_sur": {
"url": "https://ghcr.io/v2/homebrew/core/openssl/1.1/blobs/sha256:9a130889462e43fdc473302fb7fa0ac871af0ad6a3e9df3de27c1ea2b211f2e0"
},
"catalina": {
"url": "https://ghcr.io/v2/homebrew/core/openssl/1.1/blobs/sha256:497b7711e3dff815210fdb690b851ddc4c25cd46ab2b20642194b47aa018db66"
},
"x86_64_linux": {
"url": "https://ghcr.io/v2/homebrew/core/openssl/1.1/blobs/sha256:abec715f01eb20edda202463ca91403e3fa767afcba0fe732ef8e072bb99d2fd"
}
}
}
]
}
Get the brew info --json=v2 --cask <cask>
JSON output for a single, current Homebrew/homebrew-cask formula with extra keys containing analytics data and generation date.
GET https://formulae.brew.sh/api/cask/${FORMULA}.json
${FORMULA}
: the name of the formula, e.g. docker
{
"token": "docker",
"full_token": "docker",
"tap": "homebrew/cask",
"name": [
"Docker Desktop",
"Docker Community Edition",
"Docker CE"
],
"desc": "App to build and share containerized applications and microservices",
"homepage": "https://www.docker.com/products/docker-desktop",
"url": "https://desktop.docker.com/mac/main/amd64/84025/Docker.dmg",
"appcast": null,
"version": "4.11.1,84025",
"versions": {},
"installed": null,
"outdated": false,
"sha256": "b2f4ad8fea37dfb7d9147f169a9ceab71d7d0d12ff912057c60b58c0e91aed35",
"artifacts": [
{
"delete": [
"/Library/PrivilegedHelperTools/com.docker.vmnetd",
"$(brew --prefix)/bin/com.docker.cli",
"$(brew --prefix)/bin/docker-compose-v1",
"$(brew --prefix)/bin/docker-compose",
"$(brew --prefix)/bin/docker-credential-desktop",
"$(brew --prefix)/bin/docker-credential-ecr-login",
"$(brew --prefix)/bin/docker-credential-osxkeychain",
"$(brew --prefix)/bin/docker",
"$(brew --prefix)/bin/hub-tool",
"$(brew --prefix)/bin/hyperkit",
"$(brew --prefix)/bin/kubectl.docker",
"$(brew --prefix)/bin/kubectl",
"$(brew --prefix)/bin/notary",
"$(brew --prefix)/bin/vpnkit",
"$(brew --prefix)/share/zsh/site-functions/_docker",
"$(brew --prefix)/share/zsh/site-functions/_docker_compose",
"$(brew --prefix)/share/fish/vendor_completions.d/docker.fish",
"$(brew --prefix)/share/fish/vendor_completions.d/docker-compose.fish",
"$(brew --prefix)/etc/bash_completion.d/docker",
"$(brew --prefix)/etc/bash_completion.d/docker-compose"
],
"launchctl": [
"com.docker.helper",
"com.docker.vmnetd"
],
"quit": "com.docker.docker",
"signal": {}
},
[
"Docker.app"
],
[
"/Applications/Docker.app/Contents/Resources/etc/docker-compose.bash-completion",
{
"target": "$(brew --prefix)/etc/bash_completion.d/docker-compose"
}
],
[
"/Applications/Docker.app/Contents/Resources/etc/docker.zsh-completion",
{
"target": "$(brew --prefix)/share/zsh/site-functions/_docker"
}
],
[
"/Applications/Docker.app/Contents/Resources/etc/docker.fish-completion",
{
"target": "$(brew --prefix)/share/fish/vendor_completions.d/docker.fish"
}
],
[
"/Applications/Docker.app/Contents/Resources/etc/docker-compose.fish-completion",
{
"target": "$(brew --prefix)/share/fish/vendor_completions.d/docker-compose.fish"
}
],
[
"/Applications/Docker.app/Contents/Resources/etc/docker-compose.zsh-completion",
{
"target": "$(brew --prefix)/share/zsh/site-functions/_docker_compose"
}
],
[
"/Applications/Docker.app/Contents/Resources/etc/docker.bash-completion",
{
"target": "$(brew --prefix)/etc/bash_completion.d/docker"
}
],
{
"trash": [
"$(brew --prefix)/bin/docker-compose.backup",
"$(brew --prefix)/bin/docker.backup",
"~/.docker",
"~/Library/Application Scripts/com.docker.helper",
"~/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.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"
],
"signal": {}
}
],
"caveats": null,
"depends_on": {},
"conflicts_with": {
"formula": [
"docker",
"docker-completion",
"docker-compose",
"docker-compose-completion",
"docker-credential-helper-ecr",
"hyperkit",
"kubernetes-cli"
]
},
"container": null,
"auto_updates": true,
"variations": {
"arm64_ventura": {
"url": "https://desktop.docker.com/mac/main/arm64/84025/Docker.dmg",
"sha256": "a7d84117bef83764cb9bf275cd01b8ba0c43f08dbfe4d4a7d4f05549cdd81f54"
},
"arm64_monterey": {
"url": "https://desktop.docker.com/mac/main/arm64/84025/Docker.dmg",
"sha256": "a7d84117bef83764cb9bf275cd01b8ba0c43f08dbfe4d4a7d4f05549cdd81f54"
},
"arm64_big_sur": {
"url": "https://desktop.docker.com/mac/main/arm64/84025/Docker.dmg",
"sha256": "a7d84117bef83764cb9bf275cd01b8ba0c43f08dbfe4d4a7d4f05549cdd81f54"
}
},
"analytics": {
"install": {
"30d": {
"docker": 26311
},
"90d": {
"docker": 77917
},
"365d": {
"docker": 288850
}
}
},
"generated_date": "2022-08-18"
}
Get the latest source code for a cask that is defined in the Homebrew/homebrew-cask repo.
GET https://formulae.brew.sh/api/cask-source/${FORMULA}.rb
${FORMULA}
: the name of the cask, e.g. vagrant
cask "vagrant" do
version "2.3.0"
sha256 "65a5fee8bcfa4bbd3be444efbcd997110a49f5ccc1fffc4457c0110ab51adecb"
url "https://releases.hashicorp.com/vagrant/#{version}/vagrant_#{version}_darwin_amd64.dmg",
verified: "hashicorp.com/vagrant/"
name "Vagrant"
desc "Development environment"
homepage "https://www.vagrantup.com/"
livecheck do
url "https://github.com/hashicorp/vagrant"
strategy :git
end
pkg "vagrant.pkg"
uninstall script: {
executable: "uninstall.tool",
input: ["Yes"],
sudo: true,
},
pkgutil: "com.vagrant.vagrant"
zap trash: "~/.vagrant.d"
end
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
.
GET https://formulae.brew.sh/api/analytics/${CATEGORY}/${DAYS}.json
GET https://formulae.brew.sh/api/analytics-linux/${CATEGORY}/${DAYS}.json
${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)cask-install
: the installation of all casks
/analytics/
build-error
: the installation failure of all formulaeos-version
: the macOS version of all machines that have submitted an event
/analytics/
${DAYS}
: the number of days of analytics events, i.e.
30d
: 30 days90d
: 90 days365d
: 365 days{
"category": "install",
"total_items": 14545,
"start_date": "2022-07-19",
"end_date": "2022-08-18",
"total_count": 41733725,
"items": [
...
{
"number": 99,
"formula": "wget",
"count": "115,356",
"percent": "0.28"
},
...
{
"number": 7961,
"formula": "wget --HEAD",
"count": "7",
"percent": "0"
},
...
]
}
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>
.
GET https://formulae.brew.sh/api/analytics/${CATEGORY}/homebrew-core/${DAYS}.json
GET https://formulae.brew.sh/api/analytics-linux/${CATEGORY}/homebrew-core/${DAYS}.json
${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
${DAYS}: 30d
(30 days) is available${DAYS}
: the number of days of analytics events, i.e.
30d
: 30 days90d
: 90 days365d
: 365 days{
"category": "install",
"total_items": 6780,
"start_date": "2022-07-19",
"end_date": "2022-08-18",
"total_count": 41039834,
"formulae": {
...
"wget": [
{
"formula": "wget",
"count": "115,356"
},
{
"formula": "wget --HEAD",
"count": "7"
},
...
],
...
}
}
List all the Homebrew/homebrew-cask formulae’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>
.
GET https://formulae.brew.sh/api/analytics/cask-install/homebrew-cask/${DAYS}.json
${DAYS}
: the number of days of analytics events, i.e.
30d
: 30 days90d
: 90 days365d
: 365 days{
"category": "cask_install",
"total_items": 5746,
"start_date": "2022-07-19",
"end_date": "2022-08-18",
"total_count": 982603,
"formulae": {
...
"docker": [
{
"cask": "docker",
"count": "26,311"
}
],
"docker-edge": [
{
"cask": "docker-edge",
"count": "29"
}
],
"docker-toolbox": [
{
"cask": "docker-toolbox",
"count": "90"
}
],
...
}
}