Getting Started
This guide helps you go from zero to your first running Numo file in just a few steps.
Create your project
Section titled “Create your project”First, of all, let’s start by creating a new project in our current directory:
numo initThis will get you the following file structure:
- numo.toml
- main.numo
- …
Run the following command to see the default “Hello, World!” program in action:
numo main.numoYour done! You just ran your first Numo program.
Format your code
Section titled “Format your code”Use either command:
numo /path/to/file.numo --formatnumo /path/to/file.numo --fmtFormatting updates the file in place.
Compile to a standalone executable
Section titled “Compile to a standalone executable”You can package your Numo source into a native executable:
numo compile app.numo -o app./appThis output binary embeds your source and applies automatic size optimization, resulting in a compact executable that runs without needing the Numo runtime installed.