CmdID

CmdID / Commands

uv-add

Add package dependencies to the pyproject.toml file. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Add package dependencies to the pyproject.toml file. Packages are specified according to <https://peps.python.org/pep-0508/>.

Add the latest version of a package

uv add packageIdentify

Add multiple packages

uv add package1 package2 ...Identify

Add a package with a version requirement

uv add package>=1.2.3Identify

Add packages to an optional dependency group, which will be included when published

uv add --optional optional package1 package2 ...Identify

Add packages to a local group, which will not be included when published

uv add --group group package1 package2 ...Identify

Add packages to the dev group, shorthand for --group dev

uv add --dev package1 package2 ...Identify

Add package as editable

uv add --editable path/to/package/Identify

Enable an extra when installing package, may be provided multiple times

uv add package --extra extra_featureIdentify