◍ Downloads
Every release binary, with checksums. If you just want it installed, the one-line installers do this for you.
Binaries
| Platform | File | Size |
|---|---|---|
| macOS · Apple Silicon | oam-aarch64-apple-darwin | 56.8 MB |
| macOS · Intel | oam-x86_64-apple-darwin | 59.2 MB |
| Windows · ARM64 | oam-aarch64-pc-windows-msvc.exe | 56.5 MB |
| Windows · x64 | oam-x86_64-pc-windows-msvc.exe | 61.6 MB |
| Linux · x64 (glibc) | oam-x86_64-unknown-linux-gnu | 65.0 MB |
No linux-arm64 build yet: it compiles, but the V8 startup snapshot cannot be cross-compiled, so it needs a native ARM builder. SHA256SUMS, LICENSE, NOTICE and THIRD_PARTY_LICENSES.md ship with every release.
SHA256SUMS (v0.9.1)
1a747044f629b92703ecb7cfb4e3519d103c75d09ff61e099579dbf8061f3adb *oam-aarch64-apple-darwin
66f70749e59ecdacf3c3f46376dbd286f509911a4e06fd2616a89f413703a3b2 *oam-aarch64-pc-windows-msvc.exe
c0704155d185f4bf73bc2be1b2624fd9fc395d7aea127cd72cc486bd2901209f *oam-x86_64-apple-darwin
f1300a11635b0a4ffa0a25955d2a8f35790fbe6195e748b06cd690d1f0294931 *oam-x86_64-pc-windows-msvc.exe
c018c01e0c280f2fbd6abf4556ac205cbfae6aed147d64cdb3841948584fffa3 *oam-x86_64-unknown-linux-gnu
Verify
macOS and Linux — check every file the release published:
curl -fsSLO https://github.com/YawLabs/oam/releases/download/v0.9.1/SHA256SUMS
shasum -a 256 -c SHA256SUMS --ignore-missing
Or a single file, compared against the line above:
shasum -a 256 oam-aarch64-apple-darwin
Windows (PowerShell):
Get-FileHash .\oam-aarch64-pc-windows-msvc.exe -Algorithm SHA256 | Format-List
Get-FileHash prints uppercase; the sums above are lowercase.
Compare case-insensitively, or pipe through
.Hash.ToLower().
After downloading
The file is the whole runtime — there is nothing to unpack. On macOS and
Linux mark it executable and put it on your PATH:
chmod +x oam-aarch64-apple-darwin
mv oam-aarch64-apple-darwin ~/.local/bin/oam
oam --version
macOS quarantines files downloaded by a browser, and these are unsigned, so Gatekeeper will refuse the first run. Clear the attribute:
xattr -d com.apple.quarantine ~/.local/bin/oam
Installing a specific version
The installers take OAM_VERSION — a release tag, including
the v. Unset, they resolve the latest release.
macOS and Linux:
curl -fsSL https://oamjs.org/install.sh | OAM_VERSION=v0.9.1 sh
The variable has to be on sh, not on curl —
curl is a different process and would not pass it along.
Windows:
$env:OAM_VERSION = "v0.9.1"; irm https://oamjs.org/install.ps1 | iex
Two related knobs: OAM_INSTALL_DIR changes the target
(default ~/.oam/bin, or %LOCALAPPDATA%\oam\bin),
and OAM_INSTALL_BASE points at a mirror instead of GitHub
Releases. Whatever the source, the installer still verifies against the
published SHA256SUMS and refuses a mismatch.
An existing install updates itself with oam self-update,
which re-runs this installer and performs the same verification.
All releases
Older versions, with notes and their own checksums, are on the releases page.