Installing CLIs with uv

Installing CLIs with uv

🐍 Python Tip! Tired of typing uv run every time? Install any Python CLI as a standalone uv tool and call it directly from anywhere, with no venv and no prefix.

# Before: prefix every call with `uv run`
uv run mytool --help
uv run mytool serve

# After: install once...
uv tool install mytool

# ...then call it directly, from any directory
mytool --help
mytool serve

Subscribe to our newsletter and stay updated.

Don't miss anything. Get all the latest posts delivered straight to your inbox.
Great! Check your inbox and click the link to confirm your subscription.
Error! Please enter a valid email address!