lux-cli-path-init(1)
πΈ NAME πΈ
okay so this is lux-cli-path-init, from the General Commands Manual (section 1). Official job: Generate a LUA_INIT expression for the lux loader. (not formatted as a shell command). Thatβs the whole assignment, bestie. π
β¨ SYNOPSIS β¨
lux-cli path init [--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]
π¦ DESCRIPTION π¦
This command generates a LUA_INIT expression for the lux loader. And bestie, clock the parentheses: it is not formatted as a shell command. Itβs giving βloader expression,β not βshell script realness.β π«Ά
π OPTIONS π
okay hereβs the full flag buffet, no skips, no cap:
--server <server>β Fetch rocks/rockspecs from this server (takes priority over config file). This one wins over the config file, highkey. π--extra-servers <extra-server>β Fetch rocks/rockspecs from these servers in addition to the main server (overrides any entries in the config file). Extra-server energy, and it overrides config-file entries.--namespace <namespace>β Specify the luarocks server namespace to use. Niche but needed.--lua-dir <prefix>β Specify the directory in which to install Lua if not found. If Lua isnβt found, this is where you tell it to install.--lua-version <ver>β Which Lua installation to use. Pick your fighter:- Valid versions are:
'5.1','5.2','5.3','5.4','5.5','jit'and'jit52'. - If not set, Lux will attempt to detect the Lua version:
- From the current project, if it has an exact Lua version requirement.
- From the Lua installation that is available on the PATH.
- Valid versions are:
--tree <tree>β Which tree to operate on. In a workspace, this can be used to specify a detached workspace tree. Detached-tree moment.--cache-dir <cache-dir>β Specifies the cache directory, e.g. for luarocks manifests. Cache go brr.--data-dir <data-dir>β Specifies the data directory, in which the default user install tree resides (e.g.~/.local/share/lux). That path is literally~/.local/share/lux.--variables <variable>β Override config variables. Example:lx -v "LUA=/path/to/lua" .... Variable-override realness.--profile <profile>β The build profile to use when compiling packages. Default:release.- Possible values:
releasedev
- Possible values:
--verboseβ Display verbose output of commands executed, enabling DEBUG logs. To enable TRACE logs, setRUST_LOG=trace. Debug now, TRACE with that env var.--no-progressβ Donβt print any progress bars or spinners. Minimalist era.--no-prompt <NO_PROMPT>β Skip prompts, selecting the default option. Prompting is enabled by default in terminal/TTY environments.- Possible values:
truefalse
- Possible values:
--preset <preset>β Configure Lux for a specific environment. Valid presets are:'nvim'.- Possible values:
nvim: Configure Lux for Neovim plugins
- Possible values:
--nvimβ [DEPRECATED] Configure lux for installing Neovim packages. Use--preset nviminstead. This one is deprecated, so use the preset, bestie. β οΈ--no-tfaβ Disable prompts for two-factor authentication (2FA) codes. It is strongly recommended to enable 2FA instead see (https://luarocks.org/settings/two-factor-auth). Like, please enable 2FA β the recommendation is strong.--timeout <seconds>β Timeout on network operations, in seconds.0means no timeout (wait forever). Default is30. So0= eternal waiting vibes.--max-jobs <MAX_JOBS>β Maximum buffer size for parallel jobs, such as downloading rockspecs and installing rocks.0means no limit. Default is0. Zero means no limit, bestie.--no-luarcβ Do not generate or update a.luarc.jsonfile when building a project. No luarc updates, periodt.--no-wrap-binβ Do not wrap Luabinscripts. Bin scripts stay unwrapped.--user-agent <USER_AGENT>β The user agent to set when making web requests. Default is"lux/<version>". Web-request fit check.-h,--helpβ Print help (see a summary with'-h'). Helpful help is helpful.
cute sign-off: footer source is init, the manual is lux-cli-path-init(1), and there is no date printed on this page β so Iβm not making one up, bestie. Bye! πβ¨π
π¦ 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