Installation Guide
Install standalone binaries or build from source with Cargo.
M31A can be installed via automated standalone binary installer scripts, downloaded directly as prebuilt archives from GitHub Releases, or compiled from source using Cargo.
1. One-Liner Install Scripts
On Linux and macOS, the shell script detects host architecture, downloads the release archive, verifies SHA-256 checksums, and installs to /usr/local/bin or ~/.local/bin:
curl -fsSL https://raw.githubusercontent.com/eshanized/M31A/master/scripts/install.sh | bashOn Windows (PowerShell):
irm https://raw.githubusercontent.com/eshanized/M31A/master/scripts/install.ps1 | iex2. Pre-Built Standalone Binaries
Download native standalone archives directly from GitHub Releases:
| OS / Architecture | Target Triple | Archive | Status |
|---|---|---|---|
| Linux (x86_64) | x86_64-unknown-linux-gnu | m31a-linux-x64.tar.gz | SUPPORTED |
| macOS (Intel (x86_64)) | x86_64-apple-darwin | m31a-darwin-x64.tar.gz | CONDITIONALLY SUPPORTED |
| Linux (ARM64 (aarch64)) | aarch64-unknown-linux-gnu | m31a-linux-arm64.tar.gz | COMPILE-ONLY |
| macOS (Apple Silicon (aarch64)) | aarch64-apple-darwin | m31a-darwin-arm64.tar.gz | COMPILE-ONLY |
| Windows (x86_64) | x86_64-pc-windows-msvc | m31a-windows-x64.zip | COMPILE-ONLY |
| Windows (ARM64 (aarch64)) | aarch64-pc-windows-msvc | m31a-windows-arm64.zip | COMPILE-ONLY |
3. Building from Source (Cargo)
Requires Rust 1.85+ (Edition 2024). Compile with release optimizations:
git clone https://github.com/eshanized/M31A.git
cd M31A
cargo build --release
cargo install --path .4. Deployment Channels (Production vs Development)
M31A enforces compile-time artifact identity. Production (m31a) is the default. To build the isolated development channel (m31a-dev):
# Development channel build with isolated m31a-dev state paths
cargo build --release --features development5. SHA-256 Integrity Verification
Always verify downloaded archives against their published SHA-256 signatures before installation:
# Download archive and sha256 signature
curl -fsSL https://github.com/eshanized/M31A/releases/download/v0.1.1/m31a-linux-x64.tar.gz -o m31a-linux-x64.tar.gz
curl -fsSL https://github.com/eshanized/M31A/releases/download/v0.1.1/m31a-linux-x64.tar.gz.sha256 -o m31a-linux-x64.tar.gz.sha256
# Verify cryptographic checksum
sha256sum -c m31a-linux-x64.tar.gz.sha256