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 from-lock reads a raiku.lock file and installs every package at the exact version and hash recorded in it. Unlike raiku import (which uses a human-readable requirements file and resolves versions through the index), raiku from-lock bypasses version resolution entirely — you get precisely what was locked, every time, on every machine. This makes it the right tool for CI pipelines, production deployments, and any workflow where reproducibility is non-negotiable.
Usage
Flags
| Flag | Short | Default | Description |
|---|---|---|---|
--file | -f | raiku.lock | Lock file to read. Defaults to raiku.lock in the current directory. |
--trust | false | Skip build-command confirmation for all packages. | |
--no-build | false | Download and cache only; skip all build commands. | |
--force | false | Reinstall packages even if they are already present in the cache at the locked version. |
Behavior
- Reads the lock file specified by
--file(default:./raiku.lock). - For each locked package: checks whether the exact version is already cached.
- If cached (and
--forceis not set): skips with a✓ already installedmessage. - If not cached: installs the exact version recorded in the lock entry.
- If cached (and
- When the local index is available, Raiku uses index metadata (author, description, path) enriched with the locked version. If the index is unavailable, it falls back to the path and hash stored directly in the lock file.
- Reports a summary of installed, skipped, and failed packages.
Difference from raiku import
raiku import | raiku from-lock | |
|---|---|---|
| Source file | requirements.raiku | raiku.lock |
| Version resolution | Resolved through index at install time | Exact version from lock — no resolution |
| Hash enforcement | Via index on install | Locked SHA-256 used directly |
| Human-editable | Yes | No — generated by raiku install --lock |
| Reproducibility guarantee | Best-effort | Exact |
Creating a lock file
Araiku.lock is written (or updated) whenever you install with --lock:
Examples
Sample output
If
readonly mode is enabled in your configuration, raiku from-lock will exit immediately. Disable it with raiku config set readonly false before running installs.