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
Arguments
| Argument | Required | Description |
|---|---|---|
PACKAGE | Yes | The name of the installed package to roll back. |
Flags
| Flag | Short | Description |
|---|---|---|
--to VERSION | Roll back to a specific version instead of the previous one. | |
--yes | -y | Skip 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:Behavior
- Lists all cached versions of
PACKAGE, sorted from newest to oldest. - If
--tois not provided, selects the second-newest cached version as the rollback target. - Confirms the downgrade with you (unless
--yesis passed). - Evicts the current (newer) version from the cache, leaving the older version as the active one.
- Reports success and prints the version that was removed.
Examples
Sample output
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.