lux-cli-util(1)
π NAME π
It's lux-cli-util β straight out of the General Commands Manual β and it's your girl for infrequently used commands such as for generating shell completions and man pages. Lowkey the utility drawer of Lux, but make it iconic. π
β¨ SYNOPSIS β¨
lux-cli util [--server] [--extra-servers] [--namespace] [--lua-dir]
[--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] <subcommands>
π¦ DESCRIPTION π¦
Infrequently used commands such as for generating shell completions and man pages. That's the whole vibe: it's giving "rarely needed, still slaying." π
π OPTIONS π
Tiny note bestie: I kept the little literal {n} bits exactly as they appear in the original, because we do not erase the lore. π«Ά
--server <server>β fetch rocks/rockspecs from this server (takes priority over config file). Priority queen.--extra-servers <extra-server>β fetch rocks/rockspecs from these servers in addition to the main server{n}(overrides any entries in the config file). Extra servers, extra sparkle.--namespace <namespace>β specify the luarocks server namespace to use.--lua-dir <prefix>β specify the directory in which to install Lua if not found.--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 the PATH.
- From the current project, if it has an exact Lua version requirement.
--tree <tree>β which tree to operate on.{n}In a workspace, this can be used to specify a detached workspace tree. Workspace girlies, this one's for you.--cache-dir <cache-dir>β specifies the cache directory, e.g. for luarocks manifests.--data-dir <data-dir>β specifies the data directory,{n}in which the default user install tree resides{n}(e.g.~/.local/share/lux). Home sweet data home.--variables <variable>β override config variables.{n}Example:lx -v "LUA=/path/to/lua" ...--profile <profile>β the build profile to use when compiling packages.{n}Default:release.- Possible values:
releasedev
- Possible values:
--verboseβ display verbose output of commands executed, enabling DEBUG logs.{n}To enable TRACE logs, setRUST_LOG=trace. Trace girlies rise.--no-progressβ don't print any progress bars or spinners.--no-prompt <NO_PROMPT>β skip prompts, selecting the default option.{n}Prompting is enabled by default in terminal/TTY environments.- Possible values:
truefalse
- Possible values:
--preset <preset>β configure Lux for a specific environment.{n}Valid presets are:'nvim'.- Possible values:
nvim: Configure Lux for Neovim plugins
- Possible values:
--nvimβ[DEPRECATED]configure lux for installing Neovim packages.{n}Use--preset nviminstead. She's retired but still cute.--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). Security warning, bestie: strongly recommended to enable 2FA.--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.--no-luarcβ do not generate or update a.luarc.jsonfile when building{n}a project.--no-wrap-binβ do not wrap Luabinscripts.--user-agent <USER_AGENT>β the user agent to set when making web requests. Default is"lux/<version>".-h,--helpβ print help (see a summary with'-h').
πΈ SUBCOMMANDS πΈ
lux-cli-util-completion(1)β generate autocompletion scripts for the shell.{n}Example:lx completion zsh > ~/.zsh/completions/_lxlux-cli-util-man(1)β generate manpages.lux-cli-util-help(1)β print this message or the help of the given subcommand(s).
π cute sign-off: the footer says util and lux-cli-util(1) β no date is in the original footer, so I'm not inventing one, bestie. Stay slaying. π
π¦ 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