fastapi-new - Man Page
fastapi-new – Create a new FastAPI project in one command
Synopsis
fastapi-new [Options] [PROJECT_NAME]
If fastapi(1) is installed:
fastapi new [Options] [PROJECT_NAME]
Options
Positional Arguments
- PROJECT_NAME
The name of the new FastAPI project. If not provided, initializes in the current directory.
Optional Arguments
- -p, --python TEXT
Specify the Python version for the new project (e.g., 3.14). Must be 3.10 or higher.
- --install-completion
Install completion for the current shell.
Only for fastapi-new; unavailable when called as fastapi new.
- --show-completion
Show completion for the current shell, to copy it or customize the installation.
Only for fastapi-new; unavailable when called as fastapi new.
- --help
Show a help message and exit.
See Also
Referenced By
fastapi(1), fastapi-deploy(1), fastapi-dev(1), fastapi-login(1), fastapi-run(1).
December 2025