diff --git a/docs/en/docs/fastapi-cli.md b/docs/en/docs/fastapi-cli.md
index 3e5f4e350..4b19851af 100644
--- a/docs/en/docs/fastapi-cli.md
+++ b/docs/en/docs/fastapi-cli.md
@@ -1,8 +1,9 @@
+```markdown
# FastAPI CLI { #fastapi-cli }
-**FastAPI CLI** is a command line program that you can use to serve your FastAPI app, manage your FastAPI project, and more.
+**FastAPI CLI** is a command-line tool that helps you serve your FastAPI application, manage your project, and perform various development tasks.
-When you install FastAPI (e.g. with `pip install "fastapi[standard]"`), it includes a package called `fastapi-cli`, this package provides the `fastapi` command in the terminal.
+When you install FastAPI (e.g. with `pip install "fastapi[standard]"`), it includes the fastapi-cli package, which provides the `fastapi` command in your terminal.
To run your FastAPI app for development, you can use the `fastapi dev` command:
@@ -11,65 +12,66 @@ To run your FastAPI app for development, you can use the `fastapi dev` command:
```console
$ fastapi dev main.py
- FastAPI Starting development server ๐
+ FastAPI Starting development server ๐
- Searching for package file structure from directories with
- __init__.py files
- Importing from /home/user/code/awesomeapp
+ Searching for package file structure from directories with
+ __init__.py files
+ Importing from /home/user/code/awesomeapp
- module ๐ main.py
+ module ๐ main.py
- code Importing the FastAPI app object from the module with the
- following code:
+ code Importing the FastAPI app object from the module with the
+ following code:
- from main import app
+ from main import app
- app Using import string: main:app
+ app Using import string: main:app
- server Server started at http://127.0.0.1:8000
- server Documentation at http://127.0.0.1:8000/docs
+ server Server started at http://127.0.0.1:8000
+ server Documentation at http://127.0.0.1:8000/docs
- tip Running in development mode, for production use:
- fastapi run
+ tip Running in development mode, for production use:
+ fastapi run
- Logs:
+ Logs:
- INFO Will watch for changes in these directories:
- ['/home/user/code/awesomeapp']
- INFO Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to
- quit)
- INFO Started reloader process [383138] using WatchFiles
- INFO Started server process [383153]
- INFO Waiting for application startup.
- INFO Application startup complete.
+ INFO Will watch for changes in these directories:
+ ['/home/user/code/awesomeapp']
+ INFO Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to
+ quit)
+ INFO Started reloader process [383138] using WatchFiles
+ INFO Started server process [383153]
+ INFO Waiting for application startup.
+ INFO Application startup complete.
```
The command line program called `fastapi` is **FastAPI CLI**.
-FastAPI CLI takes the path to your Python program (e.g. `main.py`) and automatically detects the `FastAPI` instance (commonly named `app`), determines the correct import process, and then serves it.
+FastAPI CLI takes the path to your Python file (e.g. `main.py`), automatically detects the FastAPI instance (usually named `app`), determines how it should be imported, and starts the server for you.
-For production you would use `fastapi run` instead. ๐
+For production, you should use `fastapi run` instead. ๐
Internally, **FastAPI CLI** uses Uvicorn, a high-performance, production-ready, ASGI server. ๐
## `fastapi dev` { #fastapi-dev }
-Running `fastapi dev` initiates development mode.
+Running `fastapi dev` starts FastAPI in development mode.
-By default, **auto-reload** is enabled, automatically reloading the server when you make changes to your code. This is resource-intensive and could be less stable than when it's disabled. You should only use it for development. It also listens on the IP address `127.0.0.1`, which is the IP for your machine to communicate with itself alone (`localhost`).
+By default, **auto-reload** is enabled, automatically reloading the server when you make changes to your code. Auto-reload is resource-intensive and may be less stable than running with it disabled. You should only use it for development. It also listens on the IP address `127.0.0.1`, which is the address your machine uses to communicate with itself (`localhost`).
## `fastapi run` { #fastapi-run }
-Executing `fastapi run` starts FastAPI in production mode by default.
+Running `fastapi run` starts FastAPI in production mode.
-By default, **auto-reload** is disabled. It also listens on the IP address `0.0.0.0`, which means all the available IP addresses, this way it will be publicly accessible to anyone that can communicate with the machine. This is how you would normally run it in production, for example, in a container.
+By default, **auto-reload** is disabled. It also listens on `0.0.0.0`, which makes the application accessible on all available network interfaces. This is typically how you run a production server, such as inside a container.
-In most cases you would (and should) have a "termination proxy" handling HTTPS for you on top, this will depend on how you deploy your application, your provider might do this for you, or you might need to set it up yourself.
+In most cases, you should have a โtermination proxyโ handling HTTPS in front of your application. Depending on your deployment setup, your hosting provider may handle this, or you may need to configure it yourself.
/// tip
You can learn more about it in the [deployment documentation](deployment/index.md){.internal-link target=_blank}.
///
+```