Skip to content

Getting Started

This guide helps you go from zero to your first running Numo file in just a few steps.

First, of all, let’s start by creating a new project in our current directory:

Terminal window
numo init

This will get you the following file structure:

  • numo.toml
  • main.numo

Run the following command to see the default “Hello, World!” program in action:

Terminal window
numo main.numo

Your done! You just ran your first Numo program.

Use either command:

Terminal window
numo /path/to/file.numo --format
Terminal window
numo /path/to/file.numo --fmt

Formatting updates the file in place.

You can package your Numo source into a native executable:

Terminal window
numo compile app.numo -o app
./app

This output binary embeds your source and applies automatic size optimization, resulting in a compact executable that runs without needing the Numo runtime installed.