Flet CLI

Flet command-line interface (CLI) provides an easy way to create, run, test and package Flet apps.

Available commands:

  • flet build - package Flet app for distribution.
  • flet create - create a new Flet app from a template.
  • flet doctor - returns information about the Flet environment.
  • flet run - run Flet app in hot reload mode.
  • flet pack - package Flet app to a standalone desktop bundle.
  • flet publish - publish Flet app as a standalone static web app using Pyodide.
  • flet serve - launches a lightweight web server for a static Flet web app.