lux-cli-sync(1)
π¦ lux-cli-sync(1) β General Commands Manual, but make it group-chat π¦
π NAME π
lux-cli-sync β Synchronize the project tree with the current lux.toml,{n} ensuring all packages are installed correctly. Bestie, this is the βmake it match and make it installedβ button. π
β¨ SYNOPSIS β¨
lux-cli sync [--no-integrity-check] [--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 π
Synchronize the project tree with the current lux.toml,{n} ensuring all packages are installed correctly. Translation: get your tree matching the current lockfile-ish situation and make sure every package is actually installed right, no fake vibes. π«Ά
πΈ OPTIONS πΈ
--no-integrity-checkβ Skip the integrity checks for installed rocks when syncing the project lockfile. Living dangerously, but make it explicit. π--server <server>β Fetch rocks/rockspecs from this server (takes priority over config file). This one gets main-character priority. π--extra-servers <extra-server>β Fetch rocks/rockspecs from these servers in addition to the main server{n} (overrides any entries in the config file). Extra servers, extra sparkle. β¨--namespace <namespace>β Specify the luarocks server namespace to use. π¦--lua-dir <prefix>β Specify the directory in which to install Lua if not found. Like putting Luaβs house exactly where you want it. π--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. π
- 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. Tree choice = whole vibe choice. π³--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). Home sweet data home. π‘--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:release.
Possible values:
releasedev
--verboseβ Display verbose output of commands executed, enabling DEBUG logs.{n} To enable TRACE logs, setRUST_LOG=trace. Turn the volume up on the logs, bestie. π--no-progressβ Donβt print any progress bars or spinners. No little animations, just quiet slay. π€«--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. Iconic but retired, okay? π--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). Security warning with a bow on it: please use 2FA. π--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. Parallel go brrr, but with a limit if you want. π₯--no-luarcβ Do not generate or update a.luarc.jsonfile when building{n} a project. π--no-wrap-binβ Do not wrap Luabinscripts. Leave thosebinscripts unwrapped, fr fr. π«Ά--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'). Help is always a valid accessory. π
okay thatβs the whole page, bestie π«Ά this lux-cli-sync(1) page is from the General Commands Manual, footer source/version is sync, and the date isnβt listed in the footer β so weβre signing off with vibes and receipts only πβ¨
π¦ 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