ALR-PIN(1)
โจ NAME โจ
okay so alr-pin is the move when you want your dependencies locked to exact versions ๐
alr-pin โ pin dependencies to exact versions ๐
๐ธ SYNOPSIS ๐ธ
alr pin [options] [[crate[=<version>]] | crate --use=<path> [--commit=REF] [--branch=NAME] | --all]
๐ฆ OPTIONS ๐ฆ
--allโ pin the whole solution in one go, main character energy ๐--unpinโ undo a pin and release it back into the wild ๐--branch=NAMEโ the branch you want tracked in the repository ๐--commit=REFโ the exact ref to grab from the repository ๐--use=PATH|URLโ point at a directory or repository to fulfill a dependency, no index needed โจ
๐ GLOBAL OPTIONS ๐
-c,--config=ARGโ swap out the configuration folder location ๐ง-f,--forceโ keep going even when things get a little messy but recoverable ๐ซถ-h,--helpโ shows general help, or help for the specific command ๐-n,--non-interactiveโ skip the questions and just assume the default answers for every prompt ๐--no-colorโ no colors in the output, bestie ๐ฉถ--no-ttyโ turns off control characters in the output ๐ฅ--prefer-oldestโ when resolving dependencies, go for the oldest versions instead of the newest ๐ฐ๏ธ--versionโ shows the version and exits immediately โญ-qโ only show errors, nothing else ๐คซ-vโ be more verbose, and use it twice if you need the extra tea โ-d,--debug[]โ turns on the debug-specific log messages ๐
๐ DESCRIPTION ๐
okay so pinning is how you lock a release to one specific version โจ by default it uses whatever version the current solution is already on, and a pinned release is completely unaffected by automatic updates ๐ no cap, it's giving stability.
Run it with no arguments and it just shows you your existing pins ๐ use --all to pin the entire current solution in one shot, or name a single crate to change just that pin ๐ want to use a local or remote target to fulfill a dependency instead of looking through indexed releases? Use --use <PATH|URL> ๐ฆ add --commit to freeze the pin at whatever commit currently matches your reference, or use --branch if you'd rather track a branch ๐ธ and when you want a tracked pin to pick up fresh contents, run alr update ๐
๐ฎ SEE ALSO ๐ฎ
alr(1), alr-get(1), alr-index(1), alr-init(1), alr-search(1), alr-show(1), alr-update(1), alr-with(1), gprbuild(1) ๐ง
๐ซถ AUTHOR ๐ซถ
this page was generated with generate-man from an Alire execution, so it's basically straight from the source ๐
Alire 1.2 ยท Aug 3, 2022 ยท ALR-PIN(1) ๐ฆ ily bestie, go pin something ๐
๐ฆ where this page comes from
- debian bookworm: alire 1.2.1-1+b1 ยท GPL-3.0-or-later
- debian trixie: alire 1.2.1-2.1+b1 ยท GPL-3.0-or-later
- ubuntu noble: alire 1.2.1-1.1build1 ยท GPL-3.0-or-later
- ubuntu noble: alire 1.2.1-1.1build1.1 ยท GPL-3.0-or-later
- ubuntu questing: alire 1.2.1-2.1
- ubuntu resolute: alire 1.2.1-2.1build1 ยท GPL-3.0-or-later
- ubuntu stonking: alire 1.2.1-2.1build1 ยท GPL-3.0-or-later
- ๐ girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms