lux-cli-install(1)
π lux-cli-install(1) β the group-chat guide π
okay bestie, welcome to lux-cli-install π this is the page from the General Commands Manual, and it's literally all about installing a rock for use on the system. yes, the whole vibe. let's get into it π
β¨ NAME β¨
lux-cli-install β Install a rock for use on the system π«Ά
πΈ SYNOPSIS πΈ
lux-cli install [--pin] [--force] [--server] [--extra-servers] [--path]
[--namespace] [-p|--package] [--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]
[PACKAGE_REQ]
like, that's the whole shape of it. iconic honestly π
π¦ DESCRIPTION π¦
Install a rock for use on the system β¨ that's it, that's the whole job, and it ate.
π OPTIONS π
--pinβ Pin the packages so that they don't get updated π like, hands off, these are staying exactly where they are.--forceβ Reinstall without prompt if a package is already installed π no asking, no "are you sure", it just goes.--server <server>β Fetch rocks/rockspecs from this server (takes priority over config file) π₯ so it overrides whatever your config file says, main character energy.--extra-servers <extra-server>β Fetch rocks/rockspecs from these servers in addition to the main server{n} (overrides any entries in the config file) π the{n}is literally in there, keep it, it's giving formatting artifact.--path <path>β Install a local project from this directory, rather than a remote package π local bestie hours, no network needed.--namespace <namespace>β Specify the luarocks server namespace to use π§-p,--package <PACKAGE>β Package to install when installing from a multi-project workspace. Ignored if the--pathoption is unset β lowkey important: no--path, and this does nothing.--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 π so many choices, and it auto-detects if you don't pick.--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 π--data-dir <data-dir>β Specifies the data directory,{n} in which the default user install tree resides{n} (e.g.~/.local/share/lux) π path is exact, don't touch it.--variables <variable>β Override config variables.{n} Example:`lx -v "LUA=/path/to/lua" ...`β¨ note that example useslx, notlux-cliβ that's how it is in the original, so it stays.--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π--no-progressβ Don't print any progress bars or spinners π clean output, no vibes.--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 π yeah it's deprecated bestie, use the shiny new one.--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)
π¨ okay real talk: this one disables your 2FA prompts, and the page strongly recommends you enable 2FA instead. so like... think about it. π
--timeout <seconds>β Timeout on network operations, in seconds.{n} 0 means no timeout (wait forever). Default is 30 β³--max-jobs <MAX_JOBS>β Maximum buffer size for parallel jobs, such as downloading rockspecs and installing rocks. 0 means no limit. Default is 0 π₯ maximum chaos mode is the default.--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') π little hint inside the hint.[PACKAGE_REQ]β Package or list of packages to install π¦ yes, a list. go off.
and that's the whole page bestie, no notes π mwah π
β¨ cute little sign-off β¨ β this lil manual page is sourced from install and it's the lux-cli-install(1) page from the General Commands Manual (no date on the footer, so like... timeless π
). go install something iconic π«Ά
π¦ 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