nim

nim

TLDR

Compile a source file

$ nim compile [file.nim]
copy

Compile and run a source file

$ nim compile -r [file.nim]
copy

Compile a source file with release optimizations enabled

$ nim compile -d:release [file.nim]
copy

Build a release binary optimized for low file size

$ nim compile -d:release --opt:size [file.nim]
copy

Generate HTML documentation for a module (output will be placed in the current directory)

$ nim doc [file.nim]
copy

Copied to clipboard
Dodo Farming