mirror of
https://github.com/ModernRelay/omnigraph.git
synced 2026-06-09 01:35:18 +02:00
1.5 KiB
1.5 KiB
Install
Quick Install
curl -fsSL https://raw.githubusercontent.com/ModernRelay/omnigraph-public/main/scripts/install.sh | bash
By default the installer places:
omnigraphomnigraph-server
in ~/.local/bin.
If a matching release asset exists for your platform, the installer downloads
and unpacks it. Otherwise it falls back to cloning ModernRelay/omnigraph-public
and building from source.
Useful Overrides
Install to a different directory:
curl -fsSL https://raw.githubusercontent.com/ModernRelay/omnigraph-public/main/scripts/install.sh | INSTALL_DIR="$HOME/bin" bash
Force a source build even if a release asset exists:
curl -fsSL https://raw.githubusercontent.com/ModernRelay/omnigraph-public/main/scripts/install.sh | FORCE_BUILD=1 bash
Build from a specific git ref:
curl -fsSL https://raw.githubusercontent.com/ModernRelay/omnigraph-public/main/scripts/install.sh | SOURCE_REF=main bash
Manual Source Build
cargo build --release --locked -p omnigraph-cli -p omnigraph-server
install -m 0755 target/release/omnigraph ~/.local/bin/omnigraph
install -m 0755 target/release/omnigraph-server ~/.local/bin/omnigraph-server
Release Assets
Tagged releases are expected to publish:
omnigraph-linux-x86_64.tar.gzomnigraph-macos-x86_64.tar.gzomnigraph-macos-arm64.tar.gz
Each archive contains both binaries:
omnigraphomnigraph-server
Verify The Install
omnigraph version
omnigraph-server --help