lux-cli-purge(1)
lux-cli-purge(1) from the General Commands Manual has entered the chat β this is the page for lux-cli-purge, bestie. π
πΈ NAME πΈ
lux-cli-purge β remove all installed rocks from a tree. That's the whole job: purge mode, no cap. π
β¨ SYNOPSIS β¨
lux-cli purge [--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 π
lux-cli purge removes all installed rocks from a tree. It's giving clean slate era β every installed rock in that tree gets cleared out. Use it when you want that tree wiped of its rocks, and yes, the flags below are how you steer the vibe. π«Ά
π OPTIONS π
--server <server>β fetch rocks/rockspecs from this server. This takes priority over the 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.--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.--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, and from the Lua installation that is available on thePATH. π--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. 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. 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 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').
Cute sign-off, bestie: the footer on this one reads purge and lux-cli-purge(1) (no date shown in the source text, so don't @ me π). That's the whole page β go purge responsibly, mwah! ππ
π¦ 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