diff --git a/src/cli/install.sh b/src/cli/install.sh index 60529129f2..dc9f6aa4c2 100644 --- a/src/cli/install.sh +++ b/src/cli/install.sh @@ -80,7 +80,9 @@ if [[ $target = darwin-x64 ]]; then fi fi -github_repo="https://github.com/oven-sh/bun" +GITHUB=${GITHUB-"https://github.com"} + +github_repo="$GITHUB/oven-sh/bun" if [[ $target = darwin-x64 ]]; then # If AVX2 isn't supported, use the -baseline build