Skip to content

dev

View as Markdown

Use thru dev for developer-environment setup rather than on-chain program interaction.

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.
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.
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.
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.
Terminal window
thru dev toolchain install
thru dev sdk install c
thru dev init c hello_thru
  • 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.