$npx skillfedfor your agent

fastapi-cli

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

Worth itPyPI Software DevelopmentReleased Jul 202674.7M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — fastapi_cli-0.0.32-py3-none-any.whl
v0.0.32 · released 2026-07-16 · Python >=3.10 · 4 runtime deps: typer, uvicorn, rich-toolkit, tomli

Yes. FastAPI CLI is the official command-line tool for FastAPI, actively maintained, permissively licensed, and has low install friction. It eliminates boilerplate for running FastAPI apps and is the recommended way to serve FastAPI applications in both development and production. Install it if you are building FastAPI applications.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; your FastAPI app must define an app object (typically named `app`) that the CLI can auto-detect and import.
  • Low friction to install; the package is actively maintained with recent releases and a stable repository.
  • It pulls in four runtime dependencies (typer, uvicorn, rich-toolkit, tomli), all of which are standard Python ecosystem tools.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package with minimal legal constraints, making it safe for both open-source and commercial projects.

last release 2026-07-16 (29 days) · last repo commit 2026-08-12 · 641 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 74,715,354 downloads/mo, #450 on PyPI

Verify before relying

pip install fastapi-cli
fastapi dev main.py
  • Whether the CLI can auto-detect app objects with non-standard names or requires explicit import paths.
  • Performance characteristics and resource overhead of auto-reload in development mode on large projects.
  • Exact behavior when FASTAPI_ENV is already set to a custom value before running `fastapi dev`.
Same gist for agents: .md · .json

What it is and what it does

FastAPI CLI is a command-line interface that simplifies running your application during development and deployment. It automatically discovers your FastAPI app object and serves it via uvicorn without requiring manual configuration. The tool provides two main modes: `fastapi dev` for development with auto-reload enabled (watching for code changes and restarting the server), and `fastapi run` for production with auto-reload disabled and all network interfaces listening. In development mode, it sets the `FASTAPI_ENV` environment variable to `development` unless already set, allowing your app to adjust startup behavior accordingly. The CLI handles the boilerplate of importing your app and configuring the ASGI server, letting you focus on writing application code.

The package depends on typer for CLI argument parsing, uvicorn as the underlying ASGI server, rich-toolkit for terminal output formatting, and tomli for configuration file parsing. It targets Python 3.10 and later and is actively maintained. The tool is particularly useful for developers who want a zero-configuration way to run FastAPI apps locally or in containers without writing shell scripts or manually invoking uvicorn.

Use it for

  • Start a FastAPI development server with auto-reload by running `fastapi dev main.py` to iterate quickly on your application.
  • Deploy a FastAPI app to production with `fastapi run main.py`, which disables auto-reload and listens on all interfaces.
  • Let the CLI auto-detect your app object and import path instead of manually specifying uvicorn configuration.
  • Set development-specific behavior in your app startup code by checking the `FASTAPI_ENV` environment variable.
  • Run FastAPI apps in containers or CI/CD pipelines without writing custom entry point scripts.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

FastAPI CLI is the official command-line tool for FastAPI, actively maintained, permissively licensed, and has low install friction. It eliminates boilerplate for running FastAPI apps and is the recommended way to serve FastAPI applications in both development and production. Install it if you are building FastAPI applications.

Install

fastapi-cli on PyPI

Before you install

Low friction to install; the package is actively maintained with recent releases and a stable repository. It pulls in four runtime dependencies (typer, uvicorn, rich-toolkit, tomli), all of which are standard Python ecosystem tools.

Requires Python 3.10 or later; your FastAPI app must define an app object (typically named `app`) that the CLI can auto-detect and import.

License in practice

MIT license is permissive; you can use, modify, and distribute this package with minimal legal constraints, making it safe for both open-source and commercial projects.

Quickstart

pip install fastapi-cli
fastapi dev main.py

Verify before relying

  • Whether the CLI can auto-detect app objects with non-standard names or requires explicit import paths.
  • Performance characteristics and resource overhead of auto-reload in development mode on large projects.
  • Exact behavior when FASTAPI_ENV is already set to a custom value before running `fastapi dev`.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
typeruvicornrich-toolkittomli
MaintenanceActively maintained 29 days since the last release
Last repo commit
First released
Downloads74,715,354 / month, #450 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
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

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

Tags

Capabilities
fastapi command line toolrun fastapi app from terminalfastapi dev serverfastapi cli developmentserve fastapi applicationfastapi production deploymentauto-reload fastapi server
Topics
cli-toolfastapi-ecosystemasgi-server

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “run fastapi app from terminal”

  • fastapi-cliFastAPI CLI is a command-line tool that runs and manages FastAPI…
  • fastapi-cloud-cliA command-line tool for deploying and managing FastAPI applications…
  • textual-serveRuns any Textual terminal application in a web browser by wrapping it…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also fastapi-cloud-cli · cadwyn · fastapi-cloudevents · openbb-platform-api · fastapi-lifespan-manager · codewords-client · fastapi-azure-auth · fastapi-utilities · fastapi-cloudauth