lux-cli-download(1)
π NAME π
Okay so bestie, you're looking at lux-cli-download from the General Commands Manual β and it does exactly what it says on the tin: download a specific rock file from a luarocks server. That's it. That's the whole vibe. β¨
π SYNOPSIS π
lux-cli download [--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] <PACKAGE_REQ>
πΈ DESCRIPTION πΈ
Download a specific rock file from a luarocks server. Literally the whole plot. You point it at a <PACKAGE_REQ>, it goes and grabs the rock file for you. Main character energy fr fr. π«Ά
π¦ OPTIONS π¦
--server <server>β fetch rocks/rockspecs from this server. Heads up: this one takes priority over whatever's chillin' in your config file. π--extra-servers <extra-server>β fetch rocks/rockspecs from these servers in addition to the main server. This overrides any entries in the config file, so likeβ¦ it's giving "I make the rules now." π₯--namespace <namespace>β specify the luarocks server namespace to use.--lua-dir <prefix>β specify the directory in which to install Lua if it's not found. Lost Lua? We'll look here. π§--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
- from the Lua installation that is 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:release.
Possible values:
releasedev
--verboseβ display verbose output of commands executed, enablingDEBUGlogs. Wanna go even deeper? To enableTRACElogs, setRUST_LOG=trace. π (yes, really)--no-progressβ don't print any progress bars or spinners. For when the spinners are simply too much sensory input today. π--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. (She's iconic but she's retired, bestie. π)--no-tfaβ disable prompts for two-factor authentication (2FA) codes.
Ngl, it is strongly recommended to enable 2FA instead β see (https://luarocks.org/settings/two-factor-auth). Protect yourself. π
--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).<PACKAGE_REQ>β the package request. Put the thing you want here. That's the assignment. π
And that's the whole page, bestie β every flag, every default, every possible value, all accounted for. No cap. π
This has been lux-cli-download(1) from the General Commands Manual β page: download, source lux-cli-download(1). Go forth and download your rocks. Slay. π
β¨
π¦ 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