CLI Reference
Build commands
Section titled “Build commands”Development:
cargo buildcargo rRelease build:
cargo build --release./target/release/numo path/to/your/file.numoMaximum optimization:
cargo build --release-max./target/release-max/numo path/to/your/file.numoRun and format
Section titled “Run and format”Run a file:
numo path/to/file.numoFormat in place:
numo path/to/file.numo --formatAlias:
numo path/to/file.numo --fmtCompile to executable
Section titled “Compile to executable”./target/release/numo compile app.numo -o app./appHow packaging works:
- The runtime binary is used as a base.
- Your source is embedded into the output executable.
- Payload compression is enabled by default.
- Symbol stripping is applied on Unix.
- Optional UPX compression is used when available.
Disable compression when needed:
./target/release/numo compile app.numo -o app --no-compress