Skip to content
M31A

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:

terminal
curl -fsSL https://raw.githubusercontent.com/eshanized/M31A/master/scripts/install.sh | bash

On Windows (PowerShell):

PowerShell
irm https://raw.githubusercontent.com/eshanized/M31A/master/scripts/install.ps1 | iex

2. Pre-Built Standalone Binaries

Download native standalone archives directly from GitHub Releases:

OS / ArchitectureTarget TripleArchiveStatus
Linux (x86_64)x86_64-unknown-linux-gnum31a-linux-x64.tar.gzSUPPORTED
macOS (Intel (x86_64))x86_64-apple-darwinm31a-darwin-x64.tar.gzCONDITIONALLY SUPPORTED
Linux (ARM64 (aarch64))aarch64-unknown-linux-gnum31a-linux-arm64.tar.gzCOMPILE-ONLY
macOS (Apple Silicon (aarch64))aarch64-apple-darwinm31a-darwin-arm64.tar.gzCOMPILE-ONLY
Windows (x86_64)x86_64-pc-windows-msvcm31a-windows-x64.zipCOMPILE-ONLY
Windows (ARM64 (aarch64))aarch64-pc-windows-msvcm31a-windows-arm64.zipCOMPILE-ONLY

3. Building from Source (Cargo)

Requires Rust 1.85+ (Edition 2024). Compile with release optimizations:

terminal
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):

terminal
# Development channel build with isolated m31a-dev state paths
cargo build --release --features development

5. SHA-256 Integrity Verification

Always verify downloaded archives against their published SHA-256 signatures before installation:

terminal
# 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