lux-cli-pin(1)
π NAME π
lux-cli-pin β pin an existing rock, preventing any updates to the package. This is lux-cli-pin(1), straight out of the General Commands Manual, and bestie it is literally the command for locking a rock in place so it stops getting updated π
π¦ SYNOPSIS π¦
lux-cli pin [-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]
[PACKAGE_REQ]
β¨ DESCRIPTION β¨
okay so the whole vibe of lux-cli-pin is: you already have a rock, and you want to pin it, preventing any updates to the package. no cap, that is the job. It is the pin command, and it wants your existing rock to stay exactly where it is β iconic locking-in behavior, fr fr π
π OPTIONS π
okay bestie, here is the full flag menu, in order, no skipping π«Ά
-b,--build <BUILD>β pin a development dependency. Also calleddev.--server <server>β fetch rocks/rockspecs from this server (takes priority over config file).-t,--test <TEST>β pin 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>β project to modify.--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 thePATH.--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:release.- possible values:
releasedev
- possible values:
--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
- possible values:
--preset <preset>β configure Lux for a specific environment.{n}Valid presets are:'nvim'.- possible values:
nvim: Configure Lux for Neovim plugins
- possible values:
--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}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{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).[PACKAGE_REQ]β installed package or dependency to pin. If pinning a dependency in a project, this should be the package name.
okay that's the page, bestie π«Ά β footer sign-off: source/version pin, manual lux-cli-pin(1), and the date slot is empty in this copy, no cap π
π¦ 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