lux-cli-path-lua(1)
π lux-cli-path-lua β bestie edition
okay so this is a page from the General Commands Manual and it's literally about lux-cli-path-lua, and I'm gonna walk you through it like we're texting at 2am π«Ά
β¨ NAME β¨
lux-cli-path-lua β generates a LUA_PATH expression for lua libraries in the lux tree. and no, it's not formatted as a shell command, so don't come for me about it π
πΈ SYNOPSIS πΈ
lux-cli path lua [--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 π¦
So the whole vibe: it generates a LUA_PATH expression for the lua libraries chillin' in the lux tree. π§
And again, just so we're clear β it is not formatted as a shell command. like, that's the whole note in the manpage, and I'm not gonna hide it from you β¨
π OPTIONS π
okay this is the main character section, buckle up π
--server<server>β fetches rocks/rockspecs from this server. it takes priority over whatever your config file says, no cap π--extra-servers<extra-server>β fetches rocks/rockspecs from these servers in addition to the main server. this overrides any entries in the config file π₯--namespace<namespace>β specifies the luarocks server namespace to use πΈ--lua-dir<prefix>β specifies the directory to install Lua into if it's 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 it's 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's available on the
PATH
--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:releasepossible values:releasedev
--verboseβ displays verbose output of commands executed, enablingDEBUGlogs. to enableTRACElogs, setRUST_LOG=traceπ--no-progressβ don't print any progress bars or spinners, we're keeping it lowkey π--no-prompt<NO_PROMPT>β skip prompts, selecting the default option. prompting is enabled by default in terminal/TTY environments possible values:truefalse
--preset<preset>β configure Lux for a specific environment. valid presets are:'nvim'possible values:nvimβ configure Lux for Neovim plugins
--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) π
heads up bestie:--nvimis deprecated, fr fr β use--preset nviminstead and you're slaying π
and that's the whole page, you ate that π this was lux-cli-path-lua(1), sittin' pretty in the lua manual section, brought to you by the legend who wrote this manpage β mwah, iconic, 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