Skip to content

✨ feat(install): add install.ps1 for Windows - #2712

Merged
harehare merged 1 commit into
mainfrom
feat/install-ps1
Oct 28, 2026
Merged

harehare merged 1 commit into
mainfrom
feat/install-ps1

Conversation

@harehare

Copy link
Copy Markdown
Owner

Summary

Support powershell -c "irm https://mqlang.org/install.ps1 | iex". Downloads the release binary for x86_64 or arm64, verifies its SHA256 against checksums.txt, installs to ~/.local/bin and adds it to the user PATH. Options are passed via MQ_VERSION, MQ_HOME, MQ_WITH_DEBUG and MQ_NO_MODIFY_PATH.

Adds a workflow_dispatch workflow that runs the script on Windows x64/arm64 with Windows PowerShell 5.1 and PowerShell 7, and serves install.ps1 as text/plain from the docs site.

Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • ♻️ Refactor
  • 📝 Documentation
  • ⚡ Performance
  • ✅ Test
  • 📦 Build / dependencies
  • 👷 CI

Checklist

  • I ran cargo fmt and cargo clippy and addressed any warnings
  • I ran just test-all and all tests pass
  • I added or updated tests covering this change
  • I updated relevant documentation (/docs, crate README.md) if needed

Additional Context

Support `powershell -c "irm https://mqlang.org/install.ps1 | iex"`.
Downloads the release binary for x86_64 or arm64, verifies its SHA256
against checksums.txt, installs to ~/.local/bin and adds it to the user PATH.
Options are passed via MQ_VERSION, MQ_HOME, MQ_WITH_DEBUG and MQ_NO_MODIFY_PATH.

Adds a workflow_dispatch workflow that runs the script on Windows x64/arm64
with Windows PowerShell 5.1 and PowerShell 7, and serves install.ps1 as
text/plain from the docs site.
@harehare
harehare merged commit 6563581 into main Oct 28, 2026
14 checks passed
@harehare
harehare deleted the feat/install-ps1 branch October 28, 2026 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant