📝 Update docs with pip install calls when using extras with brackets, use quotes for compatibility with Zsh (#3131)

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
tomwei7
2021-10-07 23:57:38 +08:00
committed by GitHub
parent 077e5baf2c
commit c54fb7e208
6 changed files with 10 additions and 10 deletions

View File

@@ -43,7 +43,7 @@ For the tutorial, you might want to install it with all the optional dependencie
<div class="termy">
```console
$ pip install fastapi[all]
$ pip install "fastapi[all]"
---> 100%
```
@@ -64,7 +64,7 @@ $ pip install fastapi[all]
Also install `uvicorn` to work as the server:
```
pip install uvicorn[standard]
pip install "uvicorn[standard]"
```
And the same for each of the optional dependencies that you want to use.

View File

@@ -33,7 +33,7 @@ We need to install `python-jose` to generate and verify the JWT tokens in Python
<div class="termy">
```console
$ pip install python-jose[cryptography]
$ pip install "python-jose[cryptography]"
---> 100%
```
@@ -76,7 +76,7 @@ So, install PassLib with Bcrypt:
<div class="termy">
```console
$ pip install passlib[bcrypt]
$ pip install "passlib[bcrypt]"
---> 100%
```