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 why answers the question “do I actually need this package installed?”. It checks every installed package’s dependency list (via the local index) and determines whether the target package was installed directly by you or pulled in as a transitive dependency of one or more other packages. If a package is only a dependency, raiku why shows you which packages require it, making it safe to decide whether you can uninstall it without breaking anything. If no other installed package depends on it, raiku why confirms it is a direct install and is safe to remove.

Usage

raiku why PACKAGE

Arguments

ArgumentDescription
PACKAGEName of the installed package to explain (case-insensitive)

Output

raiku why produces one of two results: Direct install — the package was explicitly installed and no other installed package depends on it:
╭─── Dependency Analysis ────────────────────────────────────────╮
│  fast-math v1.2.0 [Python]                                      │
│                                                                │
│  Directly installed — not required by any other installed       │
│  package.                                                      │
│  Safe to remove with raiku uninstall fast-math                 │
╰────────────────────────────────────────────────────────────────╯
Transitive dependency — one or more installed packages list this package as a dependency:
╭─── Dependency Analysis ────────────────────────────────────────╮
│  fast-math v1.2.0                                              │
│  └── required by                                               │
│      ├── data-crunch v3.0.0                                    │
│      └── ml-toolkit v1.5.2                                     │
╰────────────────────────────────────────────────────────────────╯

fast-math is a dependency of 2 installed package(s).

Behavior

  • raiku why exits with code 1 if the package is not installed at all.
  • Dependency lookup requires the local index (~/.raiku/index.json). If the index is not loaded, raiku why still reports the direct-install case but cannot show which packages depend on the target. Run raiku sync to enable full analysis.
  • Version information for dependents is sourced from the index, not the local cache.
raiku why reads from both the local cache and the local index. It does not make network requests. If your index is stale, run raiku sync first for accurate results.

Examples

raiku why fast-math
Use raiku why before raiku uninstall to confirm a package is not depended upon by anything else. Removing a shared dependency without checking first can break other installed packages at build time.

Build docs developers (and LLMs) love