lux-cli-path(1)
πΈ NAME πΈ
okay so this is the manual page for lux-cli-path(1) from the General Commands Manual, and it has one very main-character job: lux-cli-path β Return the currently configured package path. Thatβs the whole name vibe, bestie π«Ά
β¨ SYNOPSIS β¨
copy-paste this exactly, no cap:
lux-cli path [--server] [--extra-servers] [--namespace] [--lua-dir]
[--lua-version] [--prepend] [--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 π
Return the currently configured package path β yes queen, thatβs literally it. It gives you back the package path youβve already configured, and that is its whole iconic purpose π β¨
π OPTIONS π
Every flag, placeholder, value, and default is here, fr fr. Letβs go through them like a group chat recap π«Ά
--server <server>β Fetch rocks/rockspecs from this server (takes priority over config file). π--extra-servers <extra-server>β Fetch rocks/rockspecs from these servers in addition to the main server (overrides any entries in the config file). β¨--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. 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, and from the Lua installation that is available on thePATH. π--prependβ Prepend the rocks tree paths to the system paths. π--tree <tree>β Which tree to operate on. 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. π--data-dir <data-dir>β Specifies the data directory, in which the default user install tree resides (e.g.~/.local/share/lux). π«Ά--variables <variable>β Override config variables. Example:lx -v "LUA=/path/to/lua" ...π--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. π₯--no-progressβ Donβt print any progress bars or spinners. π--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. π«--no-tfaβ Disable prompts for two-factor authentication (2FA) codes. It is strongly recommended to enable 2FA instead seehttps://luarocks.org/settings/two-factor-auth. π--timeout <seconds>β Timeout on network operations, in seconds.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 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 π¦
These are the little side quests, bestie β each one has its own manual page:
lux-cli-path-full(1)β Generate an export statement for all paths (formatted as a shell command). [Default] β¨lux-cli-path-lua(1)β Generate aLUA_PATHexpression forlualibraries in the lux tree. (not formatted as a shell command) πlux-cli-path-c(1)β Generate aLUA_CPATHexpression for nativeliblibraries in the lux tree. (not formatted as a shell command) π¦lux-cli-path-bin(1)β Generate aPATHexpression forbinexecutables in the lux tree. (not formatted as a shell command) πlux-cli-path-init(1)β Generate aLUA_INITexpression for the lux loader. (not formatted as a shell command) πlux-cli-path-help(1)β Print this message or the help of the given subcommand(s). π«Ά
xoxo, cute little footer sign-off π
β source/version: path; manual title: lux-cli-path(1); and the date slot didnβt show up in this footer, so Iβm not inventing one, bestie πβ¨
π¦ 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