Prebuilt binaries include spacetravlr (training), spacetravlr-perturb (perturbation / batch), and spatial_viewer (local web viewer + cache). All three are built together for each supported platform.
GitHub Releases publish three tarballs:
Asset name (after spacetravlr-<tag>-) |
Typical systems |
|---|---|
x86_64-unknown-linux-gnu.tar.gz |
64-bit Linux (glibc ≥ 2.35, e.g. Ubuntu 22.04+) |
x86_64-unknown-linux-gnu-glibc2.31.tar.gz |
Older glibc (≥ ~2.31, e.g. RHEL 9 / glibc 2.34) |
aarch64-apple-darwin.tar.gz |
Apple Silicon Mac |
Intel Mac (x86_64) has no prebuilt — install from source.
On Linux x86_64, the install script runs ldd --version, picks the standard tarball when glibc is 2.35+, otherwise the compat tarball. Override with SPACETRAVLR_LINUX_VARIANT=standard or SPACETRAVLR_LINUX_VARIANT=compat.
Linux ARM64 has no prebuilt tarballs — install from source on that platform.
Anything else: use WSL2 on Windows, or build from source (see below).
Recommended one-liner pins the install script to v1.1.0. Use -o then sh — curl … | sh can fail if piped output is truncated (some IDEs, proxies, or buffer limits). Track main instead by using refs/heads/main in the URL.
curl -fsSL https://raw.githubusercontent.com/Koushul/SpaceTravLR_rust/refs/tags/v1.1.0/scripts/install.sh -o install-spacetravlr.sh && sh install-spacetravlr.sh && rm -f install-spacetravlr.sh- Install location:
$HOME/.local/binby default. Override withSPACETRAVLR_INSTALL_DIR. - PATH: If
spacetravlris not found afterward, add that directory toPATH(the installer prints a hint).
Preview what would happen (no download):
curl -fsSL https://raw.githubusercontent.com/Koushul/SpaceTravLR_rust/refs/tags/v1.1.0/scripts/install.sh -o install-spacetravlr.sh && env INSTALL_DRY_RUN=1 sh install-spacetravlr.sh && rm -f install-spacetravlr.shQuiet logs (errors still print):
curl -fsSL https://raw.githubusercontent.com/Koushul/SpaceTravLR_rust/refs/tags/v1.1.0/scripts/install.sh -o install-spacetravlr.sh && sh install-spacetravlr.sh --quiet && rm -f install-spacetravlr.sh- Open Releases (current: v1.1.0).
- Download
spacetravlr-<tag>-<target>.tar.gzfor your machine (see the table above; Linux x86_64 has two glibc variants). - Verify
SHA256SUMSfrom the same release (recommended). - Extract and move the three binaries to a directory on your
PATH, thenchmod +xeach.
Nothing upgrades by itself. When you want to update:
spacetravlr --updateThis replaces spacetravlr, spacetravlr-perturb, and spatial_viewer next to the spacetravlr you run (keep them in the same directory). It requires a build that includes the self-update feature (prebuilt release assets do).
Pin a tag:
spacetravlr --update --update-version v0.2.0If your binary was built without self-update, reinstall with the curl installer or from source.
Same as a source build: the CLIs may use WebGPU when available. For a stable CPU path:
SPACETRAVLR_FORCE_CPU=1orSPACETRAVLR_DISABLE_WGPU=1
See the main README for details.
Downloaded binaries may be quarantined. If execution is blocked:
xattr -dr com.apple.quarantine /path/to/spacetravlr /path/to/spacetravlr-perturb /path/to/spatial_viewerThere are no official Windows .exe artifacts in this repo today. Use WSL2 (treat as Linux) or install Rust and build from source.
If the crate is published on crates.io, install with Cargo (compiles locally; Rust ≥ 1.86):
cargo install spacetravlr --lockedDefault cargo install includes the training/perturb TUIs and self-update (so spacetravlr --update works). Add spatial_viewer to match release tarballs:
cargo install spacetravlr --locked --features spatial-viewerThe package name is spacetravlr; binaries are spacetravlr, spacetravlr-perturb, and spatial_viewer when spatial-viewer is enabled.
Requires Rust ≥ 1.86 (edition 2024).
git clone https://github.com/Koushul/SpaceTravLR_rust.git
cd SpaceTravLR_rustTraining + perturb TUI (default):
cargo install --path . --lockedThat installs spacetravlr and spacetravlr-perturb with TUIs and self-update. To also install spatial_viewer:
cargo install --path . --locked --features spatial-viewerLean build (no Ratatui dashboard or self-update):
cargo install --path . --locked --no-default-featuresTo add self-update back on a lean build:
cargo install --path . --locked --no-default-features --features self-update(Full parity with release tarballs: default features plus spatial-viewer — the line above with --features spatial-viewer.)
| Issue | What to try |
|---|---|
| Wrong architecture | Download the tarball for your OS; prebuilt Mac is Apple Silicon only (Intel Mac: build from source). |
spacetravlr: command not found |
Add $HOME/.local/bin (or your install dir) to PATH. |
| Unwritable install directory | Choose a user-owned SPACETRAVLR_INSTALL_DIR, or fix permissions. |
| GitHub API rate limit | Rare for install/self-update; retry later or download manually from Releases. |
| SHA256 mismatch | Re-download; verify you picked the tarball for the correct tag and triple. |
scripts/install.sh— installer (also available viacurlraw URL above).- Tests:
bats scripts/install.bats(see CI).