Skip to content
Ursa Shell

Installation

Ursa is one binary, ursa, with no server and no dependencies. To try it without installing anything, use Ursa Shell, which runs the same engine in your browser.

On Linux or macOS, run the install script:

curl -fsSL https://ursagraph.dev/install.sh | sh

It downloads the newest ursa for your machine from the releases page, checks it against its SHA-256 checksum, and puts it in ~/.local/bin. It needs no sudo. If ~/.local/bin is not on your PATH, it prints the line to add. To choose the version or the directory, set URSA_VERSION or URSA_INSTALL_DIR after the pipe:

curl -fsSL https://ursagraph.dev/install.sh | URSA_VERSION=0.13.0 URSA_INSTALL_DIR=/opt/bin sh

On Windows, in PowerShell. This installs to %LOCALAPPDATA%\ursa\bin and adds it to your user PATH:

irm https://ursagraph.dev/install.ps1 | iex

The prebuilt binaries cover Linux (x86_64 and aarch64, glibc 2.35 or later), macOS (Intel and Apple silicon) and Windows (x64). On anything else, install with Cargo. You need Rust 1.94 or later:

cargo install ursa-cli

Or download a prebuilt binary yourself from the releases page. Each release has one archive per platform:

Platform Archive
Linux x86_64 ursa-cli-v0.13.0-x86_64-unknown-linux-gnu.tar.gz
Linux aarch64 ursa-cli-v0.13.0-aarch64-unknown-linux-gnu.tar.gz
macOS (Intel) ursa-cli-v0.13.0-x86_64-apple-darwin.tar.gz
macOS (Apple silicon) ursa-cli-v0.13.0-aarch64-apple-darwin.tar.gz
Windows x64 ursa-cli-v0.13.0-x86_64-pc-windows-msvc.zip

Each archive has a .sha256 file next to it. For example, on an Apple silicon Mac:

curl -LO https://github.com/cldixon/ursa/releases/download/ursa-cli-v0.13.0/ursa-cli-v0.13.0-aarch64-apple-darwin.tar.gz
tar xzf ursa-cli-v0.13.0-aarch64-apple-darwin.tar.gz
sudo mv ursa-cli-v0.13.0-aarch64-apple-darwin/ursa /usr/local/bin/

The binary is called ursa:

ursa --version
ursa 0.13.0

The installers have two channels. Stable, the default, is the newest release, the same version as on crates.io. Nightly is the newest build of main, rebuilt on every merge. It has features before they are released, including ones these docs mark “New in” a version that isn’t out yet. Those features may still change or break.

curl -fsSL https://ursagraph.dev/install.sh | URSA_CHANNEL=nightly sh

or curl -fsSL https://ursagraph.dev/install.sh | sh -s -- --nightly. On Windows, in PowerShell:

$env:URSA_CHANNEL = 'nightly'; irm https://ursagraph.dev/install.ps1 | iex

The download is checked against its SHA-256 checksum, as a stable one is. A nightly names its version, build date and commit:

ursa 0.14.0-nightly.20261128 (a1b2c3d4e)

Only the newest nightly is kept, on the nightly release. To go back to stable, run the installer again without the nightly option (in PowerShell, Remove-Item Env:URSA_CHANNEL first). When you report a bug, include the output of ursa --version: it says which channel and commit you have. To build main yourself instead: cargo install --git https://github.com/cldixon/ursa ursa-cli.

The Quickstart defines a graph and runs algorithms on it.