feat(install): add checksum-verified one-line first-time installers#942
Merged
Conversation
Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
jamesadevine
June 10, 2026 07:39
View session
…rtial downloads
Shrinks the install supply-chain trust boundary and removes the partial-download
execution hazard from the curl|sh / iwr|iex one-liners introduced in this PR.
* Ship `install-{linux,macos}.sh` and `install-windows.ps1` as release assets
in release.yml and include them in `checksums.txt`. Compromising the installer
now requires cutting a release, not just pushing to `main`.
* Rewrite all documented one-liners (README, quick-start.mdx, faq.json,
ado-aw.agent.md, init-agent.md) from
`raw.githubusercontent.com/.../main/scripts/install/...` to
`github.com/githubnext/ado-aw/releases/latest/download/install-*.{sh,ps1}`.
* Wrap each shell installer body in a `main` function called on the final line.
If the curl|sh stream is truncated, sh fails to parse the script before
invoking `main` and nothing runs.
* Wrap the PowerShell installer body in `Install-AdoAw` invoked on the final
line for the same reason.
* Pin `scripts/install/*.{sh,ps1}` to `eol=lf` so they don't ship with CRLF
when committed from Windows.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
jamesadevine
approved these changes
Jun 10, 2026
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Adds first-time install support for Linux, macOS, and Windows with one-line commands, checksum verification, and automatic PATH handling. Also aligns user-facing docs and agent templates to the same install flow.
Cross-platform installer scripts
scripts/install/install-linux.shscripts/install/install-macos.shscripts/install/install-windows.ps1checksums.txt, verifies SHA-256, installs to a standard writable location, and updates user PATH when needed.One-line install pattern in docs
README.mdsite/src/content/docs/setup/quick-start.mdxsite/public/ai/faq.jsonAgent-facing install guidance
.github/agents/ado-aw.agent.mdsrc/data/init-agent.mdado-aw --versionpost-check.Test plan
Covered by standard PR CI checks.