Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

self update

Reinstall scuv from crates.io to update (or pin) the installed version.

Usage

scuv self update [OPTIONS]

Options

OptionDescription
--forceReinstall even if already on the latest version
--version <VERSION>Install a specific version instead of the latest
--no-verifySkip the post-update scuv doctor verification
--jsonOutput result as JSON

Behavior

  1. Queries crates.io (via cargo search) for the latest scoop-uv version.
  2. Runs cargo install --force --locked scoop-uv --version <target>.
  3. Unless --no-verify is set, runs scuv doctor with 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