NIM(1)
NIM(1) β¨ nim, the Nim Language Compiler β bestie, it's giving compiler royalty π
NAME π
nim β the Nim Language Compiler. periodt.
DESCRIPTION πΈ
okay so bestie, the whole vibe check is: Nim Compiler Version 2.2.12 [Linux: amd64] Compiled at 2026-09-07, and the copyright is literally Copyright Β© 2006-2026 by Andreas Rumpf. iconic.
The synopsis is:
nim command [options] [projectfile] [arguments]
π οΈ Command
compile,cβ compile the project with the default code generator (C). lowkey the classic.rβ compile to$nimcache/projname, then run it withargumentsusing the backend specified by--backend(default:c).docβ generate the documentation for inputfile for the backend specified by--backend(default:c).
π«Ά Arguments
argumentsβ these are passed to the program being run (if--runoption is selected). no cap.
OPTIONS β¨
-p,--path:PATHβ add PATH to the search paths.-d,--define:SYMBOL(:VAL)β define a conditional symbol (Optionally: Define the value for that symbol, see: "compile time define pragmas").-u,--undef:SYMBOLβ undefine a conditional symbol.-f,--forceBuild:on|offβ force rebuilding of all modules.--stackTrace:on|offβ turn stack tracingon|off.--lineTrace:on|offβ turn line tracingon|off.--threads:on|offβ turn support for multi-threadingon|off.-x,--checks:on|offβ turn all runtime checkson|off.-a,--assertions:on|offβ turn assertionson|off.--opt:none|speed|sizeβ optimize not at all or forspeed|size. Note: use-d:releasefor a release build!--debugger:nativeβ use native debugger (gdb).--app:console|gui|lib|staticlibβ generate a console app|GUI app|DLL|static library.-r,--runβ run the compiled program with given arguments.--eval:cmdβ evaluate nim code directly; e.g.:nim --eval:"echo 1"defaults toe(nimscript) but customizable:nim r --eval:'for a in stdin.lines: echo a'.--fullhelpβ show all command line switches.-h,--helpβ show this help.-v,--versionβ show detailed version information.
β οΈ Note, single letter options that take an argument require a colon. E.g. -p:PATH.
π«Ά that's the footer tea, bestie:nim 2.2.12, September 2026,NIM(1)β now go be the main character of your build. π
π¦ where this page comes from
- arch rolling: nim 2.2.12-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms