lux-cli-download(1)

πŸ“¦ version 0.48.0, in nixpkgs unstable

πŸ’… 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:

  • release
  • dev
  • --verbose β€” display verbose output of commands executed, enabling DEBUG logs. Wanna go even deeper? To enable TRACE logs, set RUST_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:

  • true
  • false
  • --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 nvim instead. (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. 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.
  • --no-luarc β€” do not generate or update a .luarc.json file when building a project.
  • --no-wrap-bin β€” do not wrap Lua bin scripts.
  • --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