lux-cli-config(1)
π lux-cli-config(1) β the general commands manual, but make it a group chat
okay so bestie, welcome to lux-cli-config π this is the page from the General Commands Manual and it's literally all about poking at your lux configuration. think of it as the settings app but make it terminal. no cap.
β¨ NAME β¨
lux-cli-config β Interact with the lux configuration π
πΈ SYNOPSIS πΈ
lux-cli config [--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] <subcommands>
π¦ DESCRIPTION π¦
Interact with the lux configuration. that's it, that's the whole vibe β¨ (yes it's also the NAME line, they're matching, it's giving coordinated outfit energy π )
π OPTIONS π
okay here's the full lineup, every single flag, no skips, we're not doing that π
--server <server>β Fetch rocks/rockspecs from this server. it takes priority over the config file π so like, this one speaks louder.--extra-servers <extra-server>β Fetch rocks/rockspecs from these servers in addition to the main server. (overrides any entries in the config file β sorry to your config file, it's not their moment π)--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. finder's keepers energy π§--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. To enableTRACElogs, setRUST_LOG=traceπ (yes, more logs, go off)--no-progressβ Don't print any progress bars or spinners. silent mode, mysterious mode πΆοΈ--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. it's the old way, we've moved on, we're thriving π¦--no-tfaβ Disable prompts for two-factor authentication (2FA) codes.
bestie, it is strongly recommended to enable 2FA instead, see (https://luarocks.org/settings/two-factor-auth) π like fr fr, keep the 2FA on
--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').
π SUBCOMMANDS π
the little side quests, each with their own page β
lux-cli-config-init(1)β Initialise a new config file π brand new, fresh startlux-cli-config-edit(1)β Edit the current config file βοΈlux-cli-config-show(1)β Show the current config. This includes options picked up from CLI flags π (yes, the flags count, they're part of the config's whole personality)lux-cli-config-help(1)β Print this message or the help of the given subcommand(s)
π reminder that--nvimis deprecated and--no-tfaturns off your 2FA prompts β the manual is very openly not a fan of that last one. respect the caveats, they're there for a reason π
πΈ that's the whole page, you ate it, you understood it, periodt. sourced from config, part of the lux-cli-config(1) family, dated at the bottom of the original page β mwah, love u, go configure 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