apk-version(8)
π NAME π
okay so bestie, welcome to apk-version(8) from the System Manager's Manual β this is the manual page for apk version, aka the tool that compares package versions. That's the whole vibe. π¦
β¨ SYNOPSIS β¨
apk version [<options>...] [packages...]
apk version -c versions...
apk version -t version1 version2
apk version -I
πΈ DESCRIPTION πΈ
So like, apk version compares the versions of installed packages against package versions available from repositories (peep apk-repositories(5)). It can also be used to validate and compare version strings. Iconic multitasking, honestly. π
In default mode, if no packages are specified, all installed packages are considered. Otherwise, the comparison is limited to the explicitly listed packages. A summary is printed on stdout, with the difference between package versions being represented as >, =, or <. Periodt.
π¨ bestie alert: options-c,-I, and-tare mutually exclusive. Pick one, not all three, mmkay?
π OPTIONS π
These options only apply when checking installed package versions against packages available from the repositories (when neither -c, -t, nor -I are specified).
--all,-aβ consider packages from all repository tags. all the tags, no cap β¨--check,-cβ check versions for validity. If a given version is invalid, it is printed. Exits with status code zero if all versions are valid, and non-zero otherwise. validity vibe check π--indexes,-Iβ print the version and description for each repository's index. Seeapk-repositories(5)for more information. ποΈ--limit,-loperand β limit to packages with output matching given operand. The operand can be specified as any combination of>,=, and<. mix and match, bestie ποΈ--test,-tβ compare two version strings. Does not consult the database. Prints one of>,=, or<, if version1 is, respectively, greater than, equal to, or lesser than version2. pure string showdown π₯
xoxo, bestie β this was apk-version(8) from the System Manager's Manual, dated 2026-11-02 ππ«Ά
π¦ where this page comes from
- arch rolling: apk-tools 3.0.9-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms