Force download/install a particular bottle for a different platform than host system? #1601
Unanswered
jbarlow83
asked this question in
Tap maintenance and brew development
Replies: 1 comment 1 reply
-
Try this: ghp_url () {
local formula=$1
local version=$2
command brew info --json=v1 $formula | jq --join-output ".[0].bottle.stable.files.${version}.url"
}
curl -L -H 'Authorization: Bearer QQ==' $(ghp_url hello arm64_big_sur) | tar -x This will untar the unrelocated bottle tarball, so you'll probably need to make lots of use of Or you can maybe just download the tarball, make sure it's saved with the correct filename (using This isn't a supported use-case, by the way, so we can't make promises about this working (and that this will keep working). |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a probably way to ask brew to install a particular bottle
For example, from a macOS 10.15 machine, I'd like to download and install the bottle for arm64_big_sur so that the files can be used in cross compilation. Is there a way to do this short of scraping the formula?
Beta Was this translation helpful? Give feedback.
All reactions