Getting Started
This page gives you the shortest useful path into Targo.
1. Create a project
bash
npx @targo/create-targo my-app
cd my-app2. Refresh project state
bash
targo initThink of targo init as "refresh project declarations and Targo-managed state", not just a one-time bootstrap command.
3. Write a tiny entrypoint
typescript
import { Println } from "fmt";
export function main(): void {
Println("Hello, Targo!");
}4. Check and build
bash
targo check
targo buildIf you just want to verify the run path:
bash
targo run