From 55bcd71d7905bda018b32b4a5f1064e02d165879 Mon Sep 17 00:00:00 2001 From: shan1919 <186241534+sangshanrupesh@users.noreply.github.com> Date: Fri, 2 May 2025 19:11:36 -0400 Subject: [PATCH] Update installation instructions in index.md --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/fastapi/fastapi?shareId=XXXX-XXXX-XXXX-XXXX). --- docs/en/docs/index.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/docs/en/docs/index.md b/docs/en/docs/index.md index 0f3623ed5..dee3328b1 100644 --- a/docs/en/docs/index.md +++ b/docs/en/docs/index.md @@ -142,6 +142,30 @@ $ pip install "fastapi[standard]" **Note**: Make sure you put `"fastapi[standard]"` in quotes to ensure it works in all terminals. +If you prefer not to include the standard optional dependencies, you can install FastAPI with: + +
+ +```console +$ pip install fastapi + +---> 100% +``` + +
+ +For running the server, you will also need an ASGI server like Uvicorn. Install it using: + +
+ +```console +$ pip install "uvicorn[standard]" + +---> 100% +``` + +
+ ## Example ### Create it