self update
Reinstall scuv from crates.io to update (or pin) the installed version.
Usage
scuv self update [OPTIONS]
Options
| Option | Description |
|---|---|
--force | Reinstall even if already on the latest version |
--version <VERSION> | Install a specific version instead of the latest |
--no-verify | Skip the post-update scuv doctor verification |
--json | Output result as JSON |
Behavior
- Queries crates.io (via
cargo search) for the latestscoop-uvversion. - Runs
cargo install --force --locked scoop-uv --version <target>. - Unless
--no-verifyis set, runsscuv doctorwith the freshly installed binary and reports the outcome.
Use --force to reinstall the current version (useful for repairing a broken install). Use --version to pin to a specific release.
Examples
# Update to the latest release
scuv self update
# Pin to a specific version
scuv self update --version 0.14.0
# Force reinstall of the current version
scuv self update --force
# Machine-readable output
scuv self update --json
JSON Output
{
"status": "success",
"command": "self update",
"data": {
"from": "0.14.0",
"to": "0.14.1",
"skipped": false,
"verify": { "status": "passed" }
}
}
The verify.status field is one of skipped, passed, warned, errored, or launch_failed.
See also
scuv doctor— diagnose the current installation