Files
dcr/docs/getting-started/create-your-first-project.md
2026-02-26 18:09:07 +08:00

382 B

Create your first project

Create in a new folder

dcr new hello
cd hello

This creates:

hello/
- dcr.toml
- src/
- - main.c

Or initialize current folder

mkdir hello
cd hello
dcr init

dcr init requires the current directory to be empty.

Next steps

Build and run:

dcr run

Release build/run:

dcr run --release