LinuxCommandLibrary

uv-export

Export dependencies to requirements format

TLDR

Export to requirements.txt

$ uv export > requirements.txt
copy
Export with hashes
$ uv export --locked > requirements.txt
copy
Export without dev dependencies
$ uv export --no-dev > requirements.txt
copy

SYNOPSIS

uv export [options]

DESCRIPTION

uv export exports project dependencies to requirements format. Creates requirements.txt compatible with pip. Useful for deployment environments that don't use uv.

PARAMETERS

--locked

Use locked versions with hashes.
--frozen
Don't update lockfile.
--no-dev
Exclude dev dependencies.
--no-hashes
Exclude hashes.
-o, --output-file file
Output file.

SEE ALSO

uv(1), uv-lock(1), pip(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community