Skip to content

Installation

Terminal window
cargo install sceptre-cli

This is the CLI’s default build: ONNX Runtime is loaded at runtime via ORT_DYLIB_PATH (ort-dynamic) plus model download/caching (download) — runnable out of the box once a compatible libonnxruntime is available.

For a zero-config native binary that bundles a prebuilt ONNX Runtime at build time instead:

Terminal window
cargo install sceptre-cli --features ort-bundled

To also expose the MCP server subcommand, add the mcp feature:

Terminal window
cargo install sceptre-cli --features "ort-bundled,mcp"

The CRAFT detector and the gen2 recognizers are first-party ONNX artifacts fetched from Hugging Face (sceptre-ocr/*) on first use. Each download is verified against a pinned SHA-256 before use.

Models are cached in the standard Hugging Face hub cache — HF_HUB_CACHEHUGGINGFACE_HUB_CACHE$HF_HOME/hub~/.cache/huggingface/hub — so the library, the CLI, and any other Hugging Face tooling on the machine share one cache store. Every run after the first reads the cached models with no network access.