From bce7f3d571ea9c54b1edcd5d69c5081d2fcf5364 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Thu, 23 Jan 2025 19:53:24 -0600 Subject: [PATCH] Add documentation for `uv add -r` Closes https://github.com/astral-sh/uv/issues/10924 --- docs/concepts/projects/dependencies.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/concepts/projects/dependencies.md b/docs/concepts/projects/dependencies.md index 1d438d19e17f7..4b0dca2681ee0 100644 --- a/docs/concepts/projects/dependencies.md +++ b/docs/concepts/projects/dependencies.md @@ -77,6 +77,14 @@ $ uv add "httpx>9999" we can conclude that your project's requirements are unsatisfiable. ``` +### Importing dependencies + +Dependencies declared in a `requirements.txt` file can be added to the project with the `-r` option: + +``` +uv add -r requirements.txt +``` + ## Removing dependencies To remove a dependency: