/update / /upgrade
Checks the latest GitHub release from interactive mode and can install the newest WUM MSI. /upgrade is an alias for /update.
Synopsis
/update [--check|-c] [--force|-f|--yes|-y]
/upgrade [--check|-c] [--force|-f|--yes|-y]
Options
| Option | Detail |
|---|---|
--check, -c |
Check only. Returns exit code 2 when a newer release exists. |
--force, -f |
Skip confirmation and install. |
--yes, -y |
Alias for --force. |
Behavior
/update --check is read-only and does not require Administrator.
/update downloads the latest GitHub release MSI and launches msiexec. Installing requires an elevated terminal.
Completion
Typing /up suggests both /update and /upgrade. Typing /update suggests --check, --force, --yes, and their short aliases.
Examples
/update --check
/update
/update --force
/upgrade --yes
Implementation detail: update behavior
Next: Session Commands