Install lab CLI
lab is the OpenSDL command-line tool for local device services, asset validation, OCI artifact builds, a local asset daemon, pulling, and local kinematic instances. Asset management does not require Docker or LiyanLabs: an agent can use one installed executable to discover, build, pull, verify, split, run, operate, stop, and reclaim a resource.
Install
The installer detects your operating system and CPU and downloads the latest public release. It installs the executable that contains the CLI, local asset daemon, OCI store, OpenUSD split workflow, and kinematic runtime; device schemas, firmware, Docker, and laboratory hardware drivers remain separate.
macOS / Linux
Run in your terminal:
Windows
Run in PowerShell:
You can also download a platform archive and its SHA-256 checksum from GitHub Releases, extract it, and add the executable directory to PATH.
Verify installation
Open a new terminal after installation:
Use v0.3.1 or newer. The package and installer names use lab-cli; the command you run is lab. Help should include daemon, validate, pack, build, split, inspect, push, pull, run, ps, logs, and rm. If these commands are missing, update to the latest release.
If your terminal cannot find lab, follow the installer's PATH instructions. The default executable directory is ~/.cargo/bin on macOS / Linux and %USERPROFILE%\.cargo\bin on Windows. When CARGO_HOME is configured, executables go in its bin directory.
Update
Stop the old daemon with lab daemon stop, then run the installer again or the
updater below, and start the new daemon with lab daemon start. On Windows,
stop managed instances before replacing the executable:
For a manual archive installation, download a new release and replace the executables.
Optional runtime for USD splitting
The release contains build, push, pull, daemon and kinematic support. lab split
also requires OpenUSD Python. Install Python 3.12, then the pinned parser runtime.
macOS / Linux:
Windows PowerShell:
Set LAB_USD_PYTHON in each new shell, or pass the absolute interpreter path
with lab split --python. The adapter is embedded in the release binary;
no source checkout is required.
Install from source for development
To develop the CLI or build it yourself, prepare Rust 1.89 or newer and Git, then run:
The source build follows the same release binary and is useful when developing OpenSDL:
Confirm the new commands:
If Rust is not installed, install it with rustup and reopen the terminal. The source build requires Rust 1.89 or newer and Git; the build supplies its Protobuf compiler dependency.
Prepare hardware configuration, device schemas, and firmware using the OpenSDL device guides. The CLI installer installs executables only.
Continue with the Hub Quick Start. For a runnable local example, read runtime instances.