Skip to main content
Use thru-cli dev for developer-environment setup rather than on-chain program interaction.

Command Areas

AreaUse it for
toolchainInstall, update, uninstall, or inspect the Thru toolchain path.
sdkInstall, update, uninstall, or inspect SDK install paths by language.
initScaffold new C, C++, or Rust projects from bundled templates.

Toolchain Commands

CommandUse it for
toolchain installInstall the toolchain, optionally pinning version or repo.
toolchain updateUpdate the installed toolchain.
toolchain uninstallRemove the installed toolchain.
toolchain pathPrint the resolved toolchain path.

SDK Commands

CommandUse it for
sdk install <language>Install an SDK for c, cpp, or rust.
sdk update <language>Update an installed SDK.
sdk uninstall <language>Remove an installed SDK.
sdk path <language>Print the resolved SDK install path.

Init Commands

CommandUse it for
init c <project_name>Scaffold a new C project.
init cpp <project_name>Scaffold a new C++ project.
init rust <project_name>Scaffold a new Rust project.

Minimal Patterns

thru-cli dev toolchain install
thru-cli dev sdk install c
thru-cli dev init c hello_thru

Notes

  • This is the first family to reach for when the task is local environment setup.
  • The clap definitions mark init cpp and init rust as “not yet implemented,” so agents should avoid assuming they are fully production-ready without checking runtime behavior.