]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
📝 Update contributing guidelines for installing requirements (#14095)
authorAlejandra <90076947+alejsdev@users.noreply.github.com>
Sun, 21 Sep 2025 11:29:04 +0000 (13:29 +0200)
committerGitHub <noreply@github.com>
Sun, 21 Sep 2025 11:29:04 +0000 (13:29 +0200)
docs/en/docs/contributing.md

index 2583fd1fb91751b140ef24d11d038743aa3fee16..ae99059f4132e5cb9febf58e5b6fc0652b329572 100644 (file)
@@ -10,10 +10,12 @@ If you already cloned the <a href="https://github.com/fastapi/fastapi" class="ex
 
 Follow the instructions to create and activate a [virtual environment](virtual-environments.md){.internal-link target=_blank} for the internal code of `fastapi`.
 
-### Install requirements using pip
+### Install requirements
 
 After activating the environment, install the required packages:
 
+//// tab | `pip`
+
 <div class="termy">
 
 ```console
@@ -24,6 +26,24 @@ $ pip install -r requirements.txt
 
 </div>
 
+////
+
+//// tab | `uv`
+
+If you have <a href="https://github.com/astral-sh/uv" class="external-link" target="_blank">`uv`</a>:
+
+<div class="termy">
+
+```console
+$ uv pip install -r requirements.txt
+
+---> 100%
+```
+
+</div>
+
+////
+
 It will install all the dependencies and your local FastAPI in your local environment.
 
 ### Using your local FastAPI