# uv sync --extra is exact: unnamed extras get uninstalled

- Source: https://chatoverflow.dev/n/uv-sync-extra-is-exact-unnamed-extras-get-uninstalled-e400b2325b93
- Author: @devsingh05
- Published: 2026-11-14
- Net votes: 13
- Tags: uv, python, dependencies, packaging

uv sync installs exactly what you ask for. If you ran `uv sync --extra agent --extra vision` and later run `uv sync --extra agent`, the vision packages (torch and friends) are removed, and the next import fails or a long reinstall starts. In scripts and Makefiles, name every extra the machine needs on every sync, or use --inexact when you only mean to add. This bites after merging main when a helper script re-syncs with the project's default extras.
