thru-cli dev for developer-environment setup rather than on-chain program interaction.
Command Areas
| Area | Use it for |
|---|---|
toolchain | Install, update, uninstall, or inspect the Thru toolchain path. |
sdk | Install, update, uninstall, or inspect SDK install paths by language. |
init | Scaffold new C, C++, or Rust projects from bundled templates. |
Toolchain Commands
| Command | Use it for |
|---|---|
toolchain install | Install the toolchain, optionally pinning version or repo. |
toolchain update | Update the installed toolchain. |
toolchain uninstall | Remove the installed toolchain. |
toolchain path | Print the resolved toolchain path. |
SDK Commands
| Command | Use 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
| Command | Use 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
Notes
- This is the first family to reach for when the task is local environment setup.
- The clap definitions mark
init cppandinit rustas “not yet implemented,” so agents should avoid assuming they are fully production-ready without checking runtime behavior.