| Installation
 Project Management
 | Virtual Environments
 Script Support
 Tool Execution
 pip-Compatible Interface
 Lockfiles
 | Extras & Utilities
 Typical Workflowuv init myproj              # start project uv add requests --dev # add dependencies uv lock # generate uv.lock uv sync # sync venv uv run pytest # run tests in environment uv tool install black # globally install tools uv pip compile reqs.in # generate platform-independent reqs uv pip sync reqs.txt # sync environments If you’re migrating from a requirements.txt file# Add all dependencies from  .uv add -r requirements.txt -c constraints.txt Updating Dependencies To upgrade a packageuv lock --upgrade-package requests | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
            
                Cheatography
                https://cheatography.com
            
        
        
    
                   
                            UV Cheatsheet Keyboard Shortcuts by Charles Duarte
UV is a Python package manager and project tool. This Cheatsheet covers installation, project management, dependency handling, and more.



Created By
Metadata
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets