Examples (8)
Sync the project environment with the lockfile
Sync and include all optional dependencies
uv sync --all-extrasSync with specific optional dependencies
uv sync --extra extra_nameSync only development dependencies
uv sync --only-devSync excluding development dependencies
uv sync --no-devSync specific dependency groups
uv sync --group group_nameCheck if environment is already synchronized (no changes)
uv sync --checkPreview what would be synced without making changes
uv sync --dry-runmade by @shridhargupta | data from tldr-pages