Install on Windows
magus ships as a single self-contained binary. Download it with curl.exe, extract it into a PATH directory you own, then verify it before first run. Run these in PowerShell:
Quick install
$VERSION = "v0.3.0"
curl.exe -fLO "https://github.com/egladman/magus/releases/download/$VERSION/magus_${VERSION}_windows_amd64.tar.gz"
mkdir -Force $Env:USERPROFILE\bin | Out-Null
tar -xzf "magus_${VERSION}_windows_amd64.tar.gz"
Move-Item -Force magus.exe $Env:USERPROFILE\bin\magus.exe
magus version
Both curl.exe and tar ship with Windows 10 (1803+) and Windows 11, so no extra tooling is needed. $VERSION above is the current release; GitHub Releases lists every build.
Verify the download
Fetch the manifest and its signature next to the tarball:
curl.exe -fLO "https://github.com/egladman/magus/releases/download/$VERSION/SHA256SUMS"
curl.exe -fLO "https://github.com/egladman/magus/releases/download/$VERSION/SHA256SUMS.sig"
Then verify the Ed25519 signature first, and only then the checksum - checking a hash against an unverified manifest proves nothing. The exact commands are in Verify a release.
Put it on your PATH
If magus version is not found, add the install directory to your user PATH (persists across sessions):
[Environment]::SetEnvironmentVariable("Path", "$Env:USERPROFILE\bin;$Env:Path", "User")
Open a new PowerShell window afterward, then re-run magus version.
Next steps
- Verify the release before first run.
- Set up shell completion (PowerShell is supported).
- Keep it current with
magus self update.