Skip to main content
The Fli CLI provides a fast, terminal-based interface for searching flights using Google Flights data. It offers two main commands for different search scenarios.

Installation

Install Fli using pip or uv:

Quick start

Search for flights with just the essentials:
The CLI automatically treats non-command arguments as flight searches, so you can omit the flights command.

Main commands

flights

Search for flights on a specific date with various filtering options.
Learn more in flights command.

dates

Find the cheapest dates to fly within a date range.
Learn more in dates command.

Smart command inference

The CLI is designed for speed. If you don’t specify a command, it assumes you’re searching for flights:
This makes quick searches faster to type.

Getting help

View available commands:
Get help for a specific command:

Terminal output

Fli uses Rich terminal formatting to display results in beautiful, readable tables with:
  • Color-coded flight information
  • Formatted prices and durations
  • Airline and airport details
  • Clear segment breakdowns for multi-leg flights
  • Price trend charts for date searches
The CLI displays up to 10 flight options by default, sorted by your chosen criteria (price, duration, or time).

Common use cases

Round-trip with specific airlines

Business class non-stop flights

Find cheapest weekend departures

Next steps

flights command

Search for flights on specific dates

dates command

Find the cheapest travel dates