Quick Start
Hello World
Create hello.0:
pub fn main(world: World) -> Void raises {
check world.out.write("hello from zero\n")
}
Run it:
zero run hello.0
Output:
hello from zero
Check Your Program
zero check hello.0
Inspect the Program Graph
zero graph --json hello.0
Outputs structured ProgramGraph data: nodes, edges, types, effects, and other semantic facts.
Build an Executable
zero build --emit exe --target linux-musl-x64 hello.0 --out ./hello
Get Agent Skills
# List available skills
zero skills list
# Get full language guide
zero skills get zero --full
Next Steps
- Read the Language Syntax guide
- Explore the CLI Reference