---
title: dev
description: Install toolchains and SDKs, inspect install paths, and scaffold
  projects with thru dev
source_url:
  html: https://thru.org/docs/cli-reference/dev-commands/
  md: https://thru.org/docs/cli-reference/dev-commands.md
---

# dev

Use `thru 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

```bash
thru dev toolchain install
thru dev sdk install c
thru 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.
