Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Flags

The NicyRuntime CLI does not use flags for compilation configuration.

Environment Variables

VariableEffect
NICY_VERBOSE_ERRORS=1Enable verbose error output
NICY_NO_COLOR=1Disable ANSI colors in errors
NICY_HIRES_TIMER=1Enable high-resolution timer (Windows)

Compiler Configuration

Compiler configuration is done via in-source compiler directives, not CLI flags:

--!native          -- Enable CodeGen/JIT
--!optimize 2      -- Optimization level (0-2)
# Correct: configure via source directives
nicy compile myscript.luau

# Wrong: CLI flags do not exist
nicy compile myscript.luau --native  # DOES NOT EXIST

See Compiler Directives for details.