Skip to content

Hello World

Create main.fer:

fn main() {
println("Hello world")
}

Run it:

Terminal window
ferret run main.fer

What this shows:

  • fn main() is the program entrypoint.
  • println(...) is the simplest output path for quick examples.