Installation
One-line installers for every platform, installer options, direct downloads, verification and building from source.
Kernuq ships as a single fully static binary with embedded SQLite (WAL) and SIMD-accelerated sqlite-vec. There are no runtime dependencies.
One-line install
| Platform | Command |
|---|---|
| macOS / Linux | curl -fsSL https://kernuq.com/install.sh | sh |
| Windows | irm https://kernuq.com/install.ps1 | iex |
The installer detects OS and architecture (preferring native arm64 under Rosetta), downloads the matching binary, verifies it against SHA256SUMS when the release provides one, and adds the install directory to PATH.
Installer options
| Variable | Effect |
|---|---|
KERNUQ_VERSION |
Pin a version such as v1.0.0 (default latest) |
KERNUQ_INSTALL_DIR |
Install directory (default ~/.kernuq/bin) |
KERNUQ_NO_MODIFY_PATH |
Set to 1 to leave shell profiles / user PATH untouched |
KERNUQ_JSON |
Set to 1 for a silent install that prints one JSON line |
KERNUQ_DOWNLOAD_BASE |
Custom download base (mirrors, air-gapped networks) |
Non-interactive install for agents:
curl -fsSL https://kernuq.com/install.sh | KERNUQ_JSON=1 sh
# {"ok":true,"binary":"/Users/me/.kernuq/bin/kernuq","version":"…","target":"darwin/arm64",…}
Targets
| File | Platform |
|---|---|
kernuq-darwin-arm64 / kernuq-darwin-amd64 |
macOS Apple Silicon / Intel |
kernuq-linux-amd64 / -arm64 / -riscv64 |
Linux (static musl, incl. embedded Linux) |
kernuq-windows-amd64.exe / -arm64.exe |
Windows x64 / ARM64 |
For MMU-less RTOS targets such as FreeRTOS and Zephyr there is Kernuq-Nano, a C99 edge-protocol subset (edge/kernuq-nano).
Build from source
git clone https://github.com/Payhon/Kernuq.git && cd Kernuq
corepack pnpm --dir apps/console-prototype build # embedded console
./scripts/build-matrix.sh host # → dist/kernuq-<os>-<arch>
./scripts/build-matrix.sh all # all 7 targets, requires zig
Uninstall
Delete the binary and the data directory:
rm -f ~/.kernuq/bin/kernuq
rm -rf ~/.kernuq # warning: removes all local data
# Installation
One-line installers for every platform, installer options, direct downloads, verification and building from source.
Kernuq ships as a single fully static binary with embedded SQLite (WAL) and SIMD-accelerated `sqlite-vec`. There are no runtime dependencies.
## One-line install
| Platform | Command |
| --- | --- |
| macOS / Linux | `curl -fsSL https://kernuq.com/install.sh \| sh` |
| Windows | `irm https://kernuq.com/install.ps1 \| iex` |
The installer detects OS and architecture (preferring native arm64 under Rosetta), downloads the matching binary, verifies it against `SHA256SUMS` when the release provides one, and adds the install directory to `PATH`.
## Installer options
| Variable | Effect |
| --- | --- |
| `KERNUQ_VERSION` | Pin a version such as `v1.0.0` (default `latest`) |
| `KERNUQ_INSTALL_DIR` | Install directory (default `~/.kernuq/bin`) |
| `KERNUQ_NO_MODIFY_PATH` | Set to `1` to leave shell profiles / user PATH untouched |
| `KERNUQ_JSON` | Set to `1` for a silent install that prints one JSON line |
| `KERNUQ_DOWNLOAD_BASE` | Custom download base (mirrors, air-gapped networks) |
Non-interactive install for agents:
```bash
curl -fsSL https://kernuq.com/install.sh | KERNUQ_JSON=1 sh
# {"ok":true,"binary":"/Users/me/.kernuq/bin/kernuq","version":"…","target":"darwin/arm64",…}
```
## Targets
| File | Platform |
| --- | --- |
| `kernuq-darwin-arm64` / `kernuq-darwin-amd64` | macOS Apple Silicon / Intel |
| `kernuq-linux-amd64` / `-arm64` / `-riscv64` | Linux (static musl, incl. embedded Linux) |
| `kernuq-windows-amd64.exe` / `-arm64.exe` | Windows x64 / ARM64 |
For MMU-less RTOS targets such as FreeRTOS and Zephyr there is **Kernuq-Nano**, a C99 edge-protocol subset (`edge/kernuq-nano`).
## Build from source
```bash
git clone https://github.com/Payhon/Kernuq.git && cd Kernuq
corepack pnpm --dir apps/console-prototype build # embedded console
./scripts/build-matrix.sh host # → dist/kernuq-<os>-<arch>
./scripts/build-matrix.sh all # all 7 targets, requires zig
```
## Uninstall
Delete the binary and the data directory:
```bash
rm -f ~/.kernuq/bin/kernuq
rm -rf ~/.kernuq # warning: removes all local data
```