Skip to content

CLI

A Lua-shaped language that compiles to NSIS.

Check programs for errors without writing any files.

Terminal window
installua check [OPTIONS] [FILE.LUA]...
<FILE.LUA> Programs to check [default: every project in installua.toml]. Repeatable.
-p, --project <NAME> Check a project from installua.toml. Repeatable.
-D, --param <NAME=VALUE> Set a parameter declared with param(…); relative paths resolve from the program. Repeatable.

Compile programs to NSIS scripts.

Terminal window
installua emit [OPTIONS] [FILE.LUA]
<FILE.LUA> Program to compile [default: the project in installua.toml].
-p, --project <NAME> Compile a project from installua.toml.
-o, --output <FILE.NSI> Write the NSIS script here [default: next to the program].
-f, --force Overwrite an NSIS script installua did not write, without asking.
-D, --param <NAME=VALUE> Set a parameter declared with param(…); relative paths resolve from the program. Repeatable.
--stdout Write the NSIS script to stdout.

Build installers from programs, using makensis.

Terminal window
installua build [OPTIONS] [FILE.LUA]
<FILE.LUA> Program to compile [default: the project in installua.toml].
-p, --project <NAME> Compile a project from installua.toml.
-o, --output <FILE.NSI> Write the NSIS script here [default: next to the program].
-f, --force Overwrite an NSIS script installua did not write, without asking.
-D, --param <NAME=VALUE> Set a parameter declared with param(…); relative paths resolve from the program. Repeatable.
--makensis <PATH> Path to makensis [default: $MAKENSIS, then PATH].

-CMDHELP bucket counts.

Terminal window
installua coverage

Set up a project for the Lua language server and selene.

Terminal window
installua init [OPTIONS] [DIR]
<DIR> Project directory. Defaults to the CWD.
-i, --interactive Also offer type definitions, editor tasks and .gitignore entries.
-f, --force Overwrite existing files without asking.

Generate type definitions for the Lua language server and selene.

Terminal window
installua stubs [DIR]
<DIR> Project directory. Defaults to the CWD.
Code Meaning
0 Success.
1 The source was rejected.
2 The invocation was rejected.