uv init dir_namewill create a new python projectuv init .in an existing project directory
uv run script.pywill runscript.py. No need to activate venv, uv will take care of ituv add lib_namewill pulllib_namefrom pypi and add it to projectuv remove lib_namewill removelib_namefrom the envuv lockwill generate a lockfileuv syncwill make the venv in sync with lockfile, installing and removing as requireduv pip install -r requirements.txtin an existing project directory
Last active
August 24, 2025 16:55
-
-
Save kashifulhaque/0a45be806a2abd05c919316cf8b55986 to your computer and use it in GitHub Desktop.
Some commonly used `uv` commands
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment