How to Install FastAPI
Learn to install and execute the FastAPI applications on your local system.
Installation
Run the command below to install FastAPI. You can also create a virtual environment and then install the package.
pip install fastapi
You will also need an ASGI server for production such as uvicorn. An ASGI (Asynchronous Server Gateway Interface) is a spiritual successor to WSGI, intended to provide a standard interface between async-capable Python web servers, frameworks, and applications.
pip install uvicorn
...