This repository was archived by the owner on Oct 24, 2026. It is now read-only.
Repository navigation
docs: install from shorebird.dev - #753
Merged
Merged
Conversation
AbhishekDoshi26
approved these changes
Oct 22, 2026
AbhishekDoshi26
left a comment
Member
There was a problem hiding this comment.
Reviewed, no findings.
- Every POSIX command is
curl -fsSL https://shorebird.dev/install.sh | bash: 15 occurrences, includingagent-instructions.txt,Head.astroand the Codemagic YAML. With-Lthe 302 is followed, and with-fa failure exits non-zero instead of piping an error page into bash. - PowerShell uses
irm … | iex, which follows redirects. The quotes nest correctly inside the Head.astro string, and switching| shto| bashmatches the script's shebang. - No
raw.githubusercontent.com/shorebirdtech/installURLs are left insrcorpublic. - shorebirdtech/website#429 is deployed: production
/install.shand/install.ps1return 302, andcurl -fsSLgets the real scripts. - CI passes (build, spell-check, style-check, vale).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Switches every install command to the short form on our own domain:
curl -fsSL https://shorebird.dev/install.sh | bashMerge after shorebirdtech/website#429 is deployed. Until then these URLs return 404.
Those URLs 302 to the same scripts in
shorebirdtech/install, so updating a script still needs no deploy. The old raw GitHub URLs keep working for existing CI configs.-Lis required: without it curl gets the 302, exits 0 (-fonly fails on 400 and above), andbashruns an empty body.--proto '=https' --tlsv1.2is dropped. The URL is https and the only redirect is ours to GitHub over https;-fsSLis what Homebrew, Bun, Deno and uv publish.irmreplacesiwr -UseBasicParsing: it returns the script text directly, and-UseBasicParsingdoes nothing on PowerShell 7.get_install_commandagent tool inHead.astropiped tosh; it now pipes tobashlike the docs.Also covers
public/.well-known/agent-instructions.txt.