KMNS logo KMNS / Validate Docs
v0.4.0 ← Platform Hub GitHub ↗

Installation

kmns-validate is distributed as a statically linked binary without external dependencies.


Run the universal installer via curl:

# Default: installs system-wide to /usr/local/bin if root/sudo, else ~/.local/bin
curl -fsSL https://validate.kmns.io/install.sh | bash


# Force global system-wide installation (available for all users)
curl -fsSL https://validate.kmns.io/install.sh | bash
 -s -- --global

# Force user-local installation without sudo (~/.local/bin)
curl -fsSL https://validate.kmns.io/install.sh | bash
 -s -- --local

The script automatically detects privileges:

  1. Root / Passwordless Sudo: Installs system-wide to /usr/local/bin (immediately available in $PATH for all users).
  2. Unprivileged User: Gracefully falls back to ~/.local/bin (or ~/bin) without requiring root access.

Method 2: Manual Download & Architecture Matrix

Prebuilt release tarballs are distributed for the following target architectures:

Target PlatformArchitecture TripleBinary Type
Linux x86_64x86_64-unknown-linux-muslStatic musl (Zero dependency)
Linux x86_64x86_64-unknown-linux-gnuDynamic glibc
Linux ARM64aarch64-unknown-linux-muslStatic musl (Zero dependency)
Linux ARM64aarch64-unknown-linux-gnuDynamic glibc (Raspberry Pi, AWS Graviton, etc.)
macOS Apple Siliconaarch64-apple-darwinNative Mach-O universal binary