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 diff answers the question “what would I gain by updating this package?”. It compares the version currently cached in ~/.raiku/cache/ against the latest entry in the local index, highlights whether an update is available, and renders the changelog from the installed version.yml so you can review what changed. This is especially useful before running raiku update — it lets you make an informed decision about whether to upgrade without committing to anything.

Usage

raiku diff PACKAGE

Arguments

ArgumentDescription
PACKAGEName of the package to compare (case-insensitive)

What It Shows

SectionDescription
Installed versionThe version currently cached locally
Latest versionThe version recorded in ~/.raiku/index.json
Update availableHighlighted in green with an arrow when the index version is newer
Language & AuthorPulled from the index entry
Changelog (installed)Bullet list from version.yml in the cached package directory

Behavior

  • Version comparison uses semantic versioning — 1.9.0 is correctly identified as older than 1.10.0.
  • If the package is not installed, the installed version displays as not installed and the diff still shows the latest index entry.
  • If the package is not in the index, only cached metadata is shown.
  • If both installed and index versions match, a green “up to date” message is printed instead of an update prompt.
raiku diff is read-only. It never installs, updates, or modifies anything. Run raiku update PACKAGE to apply an available upgrade.

Examples

raiku diff fast-math

Sample Output

╭─── diff: fast-math ────────────────────────────────────────────╮
│  Package    fast-math                                           │
│  Installed  1.1.0                                              │
│  Latest     1.2.0 ← update available                           │
│  Language   Python                                              │
│  Author     Jane Doe                                            │
╰────────────────────────────────────────────────────────────────╯

╭─── Installed version changelog (v1.1.0) ───────────────────────╮
│  • Added fast_div utility function                              │
│  • Improved matrix multiply performance by 18%                 │
│                                                                │
│  Stability: stable                                             │
╰────────────────────────────────────────────────────────────────╯

Run raiku update fast-math to upgrade v1.1.0 → v1.2.0
Run raiku outdated to see all packages that have newer versions available at once, then use raiku diff PACKAGE on the ones you want to inspect before deciding to upgrade.

Build docs developers (and LLMs) love