lux-cli-run(1)
π lux-cli-run(1) β like, the manual, but make it make sense π
okay so bestie, you're looking at the General Commands Manual page for lux-cli-run, and I promise this is gonna be way less scary than it sounds. This is the glow-up guide to running your current project with whatever arguments you wanna throw at it. π«Ά
β¨ NAME β¨
lux-cli-run β run the current project with the provided arguments. That's it, that's the whole vibe. π
πΈ SYNOPSIS πΈ
lux-cli run [--no-loader] [--dir] [--server] [--extra-servers]
[--no-lock] [--namespace] [--only-deps] [--lua-dir] [-p|--package]
[--lua-version] [--tree] [--cache-dir] [--data-dir] [--variables]
[--profile] [--verbose] [--no-progress] [--no-prompt] [--preset]
[--nvim] [--no-tfa] [--timeout] [--max-jobs] [--no-luarc]
[--no-wrap-bin] [--user-agent] [-h|--help] [ARGS]
π¦ DESCRIPTION π¦
Run the current project with the provided arguments. Literally the main character of this whole page. π
π OPTIONS π
--no-loaderβ Do not addrequire('lux').loader()toLUA_INIT.{n} If a rock has conflicting transitive dependencies,{n} disabling the Lux loader may result in the wrong modules being loaded. β οΈ so like, be careful with this one, yeah?--dir <DIR>β Path in which to run the command.{n} Defaults to the project root. slay, it just knows where to go. π--server <server>β Fetch rocks/rockspecs from this server (takes priority over config file). it said what it said, priority. π--extra-servers <extra-server>β Fetch rocks/rockspecs from these servers in addition to the main server{n} (overrides any entries in the config file). more servers, more rocks, no cap. π--no-lockβ Ignore the project's lockfile and don't create one. live your truth, lock-free. π--namespace <namespace>β Specify the luarocks server namespace to use. iykyk. ποΈ--only-depsβ Build only the dependencies. not the whole thing, just the supporting cast. π--lua-dir <prefix>β Specify the directory in which to install Lua if not found. it's giving "found family" energy. π-p,--package <PACKAGE>β Package to build. one at a time, bestie. π¦--lua-version <ver>β Which Lua installation to use.{n} Valid versions are:'5.1','5.2','5.3','5.4','5.5','jit'and'jit52'.{n} If not set, Lux will attempt to detect the Lua version:{n} - From the current project, if it has an exact Lua version requirement.{n} - From the Lua installation that is available on thePATH. she's smart, she'll figure it out. π§ β¨--tree <tree>β Which tree to operate on.{n} In a workspace, this can be used to specify a detached workspace tree. π³--cache-dir <cache-dir>β Specifies the cache directory, e.g. for luarocks manifests. a little home for your cache. ποΈ--data-dir <data-dir>β Specifies the data directory,{n} in which the default user install tree resides{n} (e.g.~/.local/share/lux). very demure, very mindful path. π‘--variables <variable>β Override config variables.{n} Example:lx -v "LUA=/path/to/lua" ...β see, it's easy. ποΈ--profile <profile>β The build profile to use when compiling packages.{n} Default:release.
Possible values:
releasedev
--verboseβ Display verbose output of commands executed, enabling DEBUG logs.{n} To enable TRACE logs, setRUST_LOG=trace. we love a chatty queen. π£οΈ--no-progressβ Don't print any progress bars or spinners. sometimes you just want peace and quiet. π€«--no-prompt <NO_PROMPT>β Skip prompts, selecting the default option.{n} Prompting is enabled by default in terminal/TTY environments.
Possible values:
truefalse
--preset <preset>β Configure Lux for a specific environment.{n} Valid presets are:'nvim'.
Possible values:
nvim: Configure Lux for Neovim plugins
--nvimβ[DEPRECATED]Configure lux for installing Neovim packages.{n} Use--preset nviminstead. it's old news bestie, move on. π--no-tfaβ Disable prompts for two-factor authentication (2FA) codes.{n} It is strongly recommended to enable 2FA instead see (https://luarocks.org/settings/two-factor-auth). π like pls, protect yourself.--timeout <seconds>β Timeout on network operations, in seconds.{n}0means no timeout (wait forever). Default is30. β³--max-jobs <MAX_JOBS>β Maximum buffer size for parallel jobs, such as downloading rockspecs and installing rocks.0means no limit. Default is0. go off, no limits. π--no-luarcβ Do not generate or update a.luarc.jsonfile when building{n} a project. no extra files, no stress. π--no-wrap-binβ Do not wrap Luabinscripts. let them breathe. π«§--user-agent <USER_AGENT>β The user agent to set when making web requests. Default is"lux/<version>". introducing yourself to the internet, cute. π-h,--helpβ Print help (see a summary with'-h'). the classic "help me help you." πββοΈ[ARGS]β your args, your rules. π«
ngl bestie, that's the whole page β every flag, every default, every possible value, all accounted for. no gatekeeping here. π
and that's a wrap! this page is from the General Commands Manual, filed under run, and honestly? iconic. this was lux-cli-run(1) β go run your project, periodt. π§ββοΈπβ
π¦ where this page comes from
- nixpkgs unstable: lux-cli 0.48.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms