Usage
Description
Update installed components from their registries to the latest version. You can update specific components, all components, or all components from a particular registry.Arguments
| Argument | Required | Description |
|---|---|---|
components... | No | Specific components to update (omit to use --all or --registry) |
Flags
| Flag | Shorthand | Default | Description |
|---|---|---|---|
--all | false | Update all installed components | |
--registry <name> | Update all components from a specific registry | ||
--dry-run | false | Preview changes without applying | |
--cwd <path> | Current directory | Working directory | |
--quiet | -q | false | Suppress output |
--verbose | -v | false | Verbose output |
--json | false | Output as JSON |
Mutual Exclusivity
These flag combinations are not allowed:--allwith component names--registrywith component names--allwith--registry
Examples
Update a Specific Component
Update All Components
Update All Components from a Registry
Preview Updates
See Also
- ocx add — Add new components.
- ocx remove — Remove components.
- CLI Reference — All commands.