Skip to main content

Module versions

Module versions 

Source
Expand description

rk versions: the pinned-tool registry, and its freshness check.

Plain rk versions prints the registry exactly as authored, offline. --check is the canon-side freshness answer and the one verb allowed to fetch: it consults each pin’s check URL and reports per pin, where an unreachable or unparsable source is a reported result at exit 0, not an error — and it never edits versions.toml, because a pin update is a reviewed change in this repository. The fetch goes through curl, resolved like the forge CLIs with RK_CURL_BIN as the override, so the check needs no HTTP stack of its own and a test can substitute the network.

Functions§

run
Print the registry, or check each pin upstream under --check.