Skip to content

Command-line interface (CLI)

The stac-rs command-line interface can be installed two ways. If you have Rust, use cargo:

cargo install stac-cli -F duckdb  # to use libduckdb on your system
# or
cargo install stac-cli -F duckdb-bundled  # to build libduckdb on install (slow)

The CLI is called stacrs:

stacrs --help

If you don't have DuckDB on your system, you can also use the Python wheel, which includes libduckdb:

python -m pip install stacrs

For examples of using the CLI, check out the slides from @gadomski's 2024 FOSS4G-NA presentation here.