skillfed

fastapi-cli

Run and manage FastAPI apps from the command line with FastAPI CLI. 🚀

fastapi-cli Permissive license MIT Active 641 v0.0.32 released

Install

fastapi-cli on PyPI

pip

pip install fastapi-cli

uv

uv add fastapi-cli

poetry

poetry add fastapi-cli

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 4 — typer, uvicorn, rich-toolkit, tomli
Maintenance actively maintained — 28 days since the last release
Last repo commit
First released
Popularity one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13)
Known vulnerabilities none known (OSV.dev, checked 2026-08-13)

Evidence: fastapi_cli-0.0.32-py3-none-any.whl

Development Status :: 4 - BetaFramework :: FastAPIIntended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software DevelopmentTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Application FrameworksTopic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

About fastapi-cli

from the package's own PyPI description — quoted content, verbatim

FastAPI CLI

<a href="https://github.com/fastapi/fastapi-cli/actions/workflows/test.yml" target="_blank"> <img src="https://github.com/fastapi/fastapi-cli/actions/workflows/test.yml/badge.svg" alt="Test"> </a> <a href="https://coverage-badge.samuelcolvin.workers.dev/redirect/fastapi/fastapi-cli" target="_blank"> <img src="https://coverage-badge.samuelcolvin.workers.dev/fastapi/fastapi-cli.svg" alt="Coverage"> <a href="https://pypi.org/project/fastapi-cli" target="_blank"> <img src="https://img.shields.io/pypi/v/fastapi-cli?color=%2334D058&label=pypi%20package" alt="Package version"> </a>


Source Code: <a href="https://github.com/fastapi/fastapi-cli" target="_blank">https://github.com/fastapi/fastapi-cli</a>


Run and manage FastAPI apps from the command line with FastAPI CLI. 🚀

Description

FastAPI CLI is a command line program fastapi that you can use to serve your FastAPI app, manage your FastAPI project, and more.

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.

To run your FastAPI app for development, you can...

Read as markdown · JSON record · Source repository · Homepage · Docs

AI interpretation — verify before relying

AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page

FastAPI CLI is a command-line tool that serves and manages FastAPI applications, automatically detecting your app and running it with development auto-reload or production modes via Uvicorn.

Low install friction with a pure-Python wheel distribution. Actively maintained with recent releases (28 days since last update) and a healthy repository signal (641 stars, active commits). Four runtime dependencies—typer, uvicorn, rich-toolkit, tomli—are all stable, widely-used packages.

MIT license (permissive) imposes minimal restrictions; you may use, modify, and distribute this package freely in commercial or private projects with only attribution required.

Usage

pip install fastapi-cli

# In your FastAPI app file (e.g., main.py):
from fastapi import FastAPI
app = FastAPI()

# Then from the terminal:
# fastapi dev main.py

Requires Python 3.10 or later; Uvicorn and typer must be installed as runtime dependencies.

Verdict: FastAPI CLI is a well-maintained, actively developed tool with no known vulnerabilities and permissive licensing. It has low install friction and integrates tightly with Uvicorn for serving FastAPI applications. Suitable for both development and production use, though still in Beta status (Development Status :: 4).

Needs verification

  • Whether rich-toolkit is a stable, widely-maintained dependency or a newer/less-established package.
  • Specific compatibility or known issues with Python 3.14 (listed as supported but may be pre-release).
fastapi command line toolfastapi dev server clirun fastapi app from terminalfastapi development serverfastapi project management cliuvicorn fastapi wrapperfastapi auto-reload dev mode

Similar packages