Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/SGizek/Raiku/llms.txt

Use this file to discover all available pages before exploring further.

raiku rollback lets you instantly revert a package to an older version without touching the network. Because Raiku keeps previous versions in the local cache until they are explicitly evicted, rolling back is as fast as switching which version is active — the old files are already on disk. This makes raiku rollback the first tool to reach for when an update introduces a regression.

Usage

raiku rollback PACKAGE [--to VERSION] [--yes]

Arguments

ArgumentRequiredDescription
PACKAGEYesThe name of the installed package to roll back.

Flags

FlagShortDescription
--to VERSIONRoll back to a specific version instead of the previous one.
--yes-ySkip the confirmation prompt.

Requirements

The target version must already be present in your local cache. Raiku does not re-download during a rollback. You can check which versions are cached with:
raiku list
If the version you need is not cached, install it directly:
raiku install <package>@<version> --force

Behavior

  1. Lists all cached versions of PACKAGE, sorted from newest to oldest.
  2. If --to is not provided, selects the second-newest cached version as the rollback target.
  3. Confirms the downgrade with you (unless --yes is passed).
  4. Evicts the current (newer) version from the cache, leaving the older version as the active one.
  5. Reports success and prints the version that was removed.

Examples

raiku rollback fast-math

Sample output

  Roll back fast-math: v1.2.0 → v1.1.0
? Proceed with rollback? [y/N]: y

✓ Rolled back fast-math to v1.1.0.
  v1.2.0 removed from cache. Reinstall with raiku install fast-math --force.
If only one version of a package is cached, raiku rollback will report that there is nothing to roll back to. In that case, use raiku install <package>@<version> --force to fetch a specific older version directly from the index.
If you want to prevent future accidental upgrades after rolling back, pin the package at the restored version:
raiku pin add fast-math --reason "v1.2.0 broke FFT performance"
This keeps raiku update --all from promoting it again.

Build docs developers (and LLMs) love