Skip to content

Commit bce7f3d

Browse files
committed
Add documentation for uv add -r
Closes #10924
1 parent 42fae92 commit bce7f3d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/concepts/projects/dependencies.md

+8
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,14 @@ $ uv add "httpx>9999"
7777
we can conclude that your project's requirements are unsatisfiable.
7878
```
7979

80+
### Importing dependencies
81+
82+
Dependencies declared in a `requirements.txt` file can be added to the project with the `-r` option:
83+
84+
```
85+
uv add -r requirements.txt
86+
```
87+
8088
## Removing dependencies
8189

8290
To remove a dependency:

0 commit comments

Comments
 (0)