lux-cli-remove(1)
π NAME π
okay bestie, welcome to the lux-cli-remove page from the General Commands Manual π
this is the one that removes a rock from the current project's lux.toml dependencies. iconic little cleanup command, fr fr π§
πΈ SYNOPSIS πΈ
lux-cli remove [-b|--build] [--server] [-t|--test] [--extra-servers]
[-p|--package] [--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]
[DEPENCENCIES]
β¨ DESCRIPTION β¨
Remove a rock from the current project's lux.toml dependencies π that's the whole vibe. it's giving "spring cleaning but make it package management" π
π OPTIONS π
-b,--build <BUILD>β Remove a development dependency. Also calleddevπ±--server <server>β Fetch rocks/rockspecs from this server (takes priority over config file) π-t,--test <TEST>β Remove a test dependency π§ͺ--extra-servers <extra-server>β Fetch rocks/rockspecs from these servers in addition to the main server{n}(overrides any entries in the config file) π-p,--package <PACKAGE>β Package to remove from π¦--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.{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 πΈ--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) β¨--variables <variable>β Override config variables.{n}Example:lx -v "LUA=/path/to/lua" ...π₯--profile <profile>β The build profile to use when compiling packages.{n}Default:releasePossible 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 π--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 π«Ά--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) π--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 β‘--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') π[DEPENCENCIES]β Package or list of packages to remove from the dependencies π
okay that's the whole page, bestie β footer vibes are remove / lux-cli-remove(1), and this manual is officially wrapped πβ¨
π¦ 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