-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
Jung Hyun, Nam edited this page May 28, 2026
·
2 revisions
Three minutes from a fresh shell to a running program.
Cadenza requires .NET SDK 10.0.300 or newer (file-based apps with custom #:sdk support). See Installation for OS-specific steps.
dotnet --version
# 10.0.300 or newerPick the variant that matches what you want to build. Save as app.cs.
Console — print something:
#!/usr/bin/env dotnet run
#:sdk Cadenza@1.0.15
WriteLine("Hello from Cadenza");
foreach (var file in Glob("**/*.md"))
WriteLine($" {file}");Web — serve an endpoint:
#!/usr/bin/env dotnet run
#:sdk Cadenza.Web@1.0.15
Get("/", () => "Hello, Cadenza");
await Run();dotnet run app.csThat's the whole loop. No dotnet new, no project file, no scaffolding. The first invocation restores the SDK; subsequent runs start in under a second.
- See every SDK with a working example — start at Cadenza Console or jump straight to the one you need (Cadenza Web · Cadenza Worker · Cadenza Mcp · Cadenza Agent).
- Get full IntelliSense in your editor — Editor Setup.
- Ship the program — Deployment Single Binary or Deployment Container.
- Browse all 18 sample files — Samples.
- Tier 1 API — the bare names that work without imports
-
Directives — what
#:sdkand friends do - FAQ
Cadenza · MIT · .NET 10+ · github.com/rkttu/cadenza · No orchestra. No project. Just one file, playing solo.