uv pip sync requirements.txt

Category: Python & pip

uv pip sync requirements.txt

Sync the environment exactly to a pinned requirements.txt

Syncs the environment to exactly match requirements.txt — adds missing packages and removes extras.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.