Browse Source

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).
pull/13677/head
shan1919 3 months ago
parent
commit
55bcd71d79
  1. 24
      docs/en/docs/index.md

24
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. **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:
<div class="termy">
```console
$ pip install fastapi
---> 100%
```
</div>
For running the server, you will also need an ASGI server like Uvicorn. Install it using:
<div class="termy">
```console
$ pip install "uvicorn[standard]"
---> 100%
```
</div>
## Example ## Example
### Create it ### Create it

Loading…
Cancel
Save