Flutter Gems is a curated list of 7250+ useful Dart & Flutter packages that are categorized based on functionality.

Discord Medium LinkedIn X

Top Flutter Command Line (CLI) or Console packages

Last updated: May 18, 2026

Command Line Interfaces (CLI) built with Dart are incredibly fast, compiling to self-contained native executables for Windows, Mac, and Linux without requiring a runtime installation.

Best Practices for CLIs

  • Argument Parsing: Do not parse List<String> args manually using strings and regex. Use the robust args package to define flags, options, and automatically generate a helpful --help menu.
  • Exit Codes: Respect standard Unix exit codes. Return exit(0) on success, and specific non-zero codes (like exit(1)) on failures. This ensures your CLI can be integrated reliably into automated bash scripts or CI/CD pipelines.
  • AOT Compilation: Always compile your final CLI tool using Dart's Ahead-Of-Time (AOT) compiler (dart compile exe) to drastically reduce startup latency compared to running it from the raw .dart script.

The complete list of CLI Frameworks, Argument Parsers, and Terminal Styling packages for Dart is provided below.


args
👍 423   ⬇️ 6.8M
Dart 3 compatible
Maintenance Status: Average

Library for defining parsers for parsing raw command-line arguments into a set of options and values using GNU and POSIX style options.

hooks
👍 36   ⬇️ 6.6M
Dart 3 compatible
Maintenance Status: Good

A library that contains a Dart API for the JSON-based protocol for `hook/build.dart` and `hook/link.dart`.

cli_config
👍 10   ⬇️ 4.9M
Dart 3 compatible
Maintenance Status: Poor

A library to take config values from configuration files, CLI arguments, and environment variables.

completion
👍 52   ⬇️ 4.6M
Dart 3 compatible
Maintenance Status: Good

A package to add shell command completion to your Dart application

cli_util
👍 89   ⬇️ 3.5M
Dart 3 compatible
Maintenance Status: Good

A library to help in building Dart command-line apps.

very_good_cli
👍 719   ⬇️ 148.7K
Dart 3 compatible
Maintenance Status: Good

A Very Good Command-Line Interface for Dart created by Very Good Ventures.

prompts
👍 29   ⬇️ 677.5K
Dart 3 compatible
Maintenance Status: Poor

Rich, simple, synchronous command-line prompt library for Dart.

dart_console
👍 144   ⬇️ 402.8K
Dart 3 compatible
Maintenance Status: Good

A helper library for command-line applications that need more control over input/output than the standard library provides.

mason_cli Card Image
mason_cli
👍 412   ⬇️ 25.4K
Dart 3 compatible
Maintenance Status: Good

Mason CLI allows developers to create and consume reusable templates called bricks.

cli_completion Card Image
cli_completion
👍 69   ⬇️ 428.1K
Dart 3 compatible
Maintenance Status: Average

Completion functionality for Dart Command-Line Interfaces built using CommandRunner. Built by Very Good Ventures.

xterm
👍 235   ⬇️ 203.4K
Dart 3 compatible
Maintenance Status: Poor

xterm.dart is a fast and fully-featured terminal emulator for Flutter applications, with support for mobile and desktop platforms.

tint
👍 41   ⬇️ 419.3K
Dart 3 compatible
Maintenance Status: Poor

A library for terminal string styling as an extension on `String`.

interact
👍 93   ⬇️ 307K
Dart 3 compatible
Maintenance Status: Poor

A collection of customizable interactive command-line components.

dcli
👍 223   ⬇️ 47.2K
Dart 3 compatible
Maintenance Status: Good

Dart console SDK - write console (cli) apps/scripts using dart.

console
👍 70   ⬇️ 182.5K
Dart 3 compatible
Maintenance Status: Poor

A library for common features required by console applications, including color formatting, keyboard input, and progress bars.

colorize
👍 29   ⬇️ 118.5K
Dart 3 compatible
Maintenance Status: Poor

Colorize console output

chalkdart Card Image
chalkdart
👍 68   ⬇️ 66.4K
Dart 3 compatible
Maintenance Status: Good

Console/Logging text coloring and styling library for Dart. 'Terminal string styling done right' The default mode uses ANSI codes to style the text for Console/Terminal display. HTML mode can be activated so that all text is colored and styled using HTML so ChalkDart can be use for sending colored/styled logs to the Server for viewing from a browser as well.

test_process
👍 12   ⬇️ 89.4K
Dart 3 compatible
Maintenance Status: Average

Test processes: starting; validating stdout and stderr; checking exit code

cli_repl
👍 5   ⬇️ 84K
Dart 3 compatible
Maintenance Status: Poor

A simple library for creating CLI REPLs

barbecue
👍 30   ⬇️ 33.6K
Dart 3 compatible
Maintenance Status: Poor

Render text tables for your command line applications. Use padding, spans, custom borders, ANSI colors and more!

architecture_cli
👍 47   ⬇️ 48
Dart 3 compatible
Maintenance Status: Poor

Architecture_CLI is a package designed to streamline the folder structure creation process

interactive
👍 46   ⬇️ 986
Dart 3 compatible
Maintenance Status: Average

REPL (interactive shell) for Dart, supporting 3rd party packages, hot reload, and full grammar

ft_cli
👍 45   ⬇️ 20
Dart 3 compatible
Maintenance Status: Poor

This project is one CLI for integrate Flutter and Dart with Clean Architecture

console_bars Card Image
console_bars
👍 33   ⬇️ 13.4K
Dart 3 compatible
Maintenance Status: Good

A package for creating a customizable progress bar in console easily.

stacked_cli
👍 43   ⬇️ 837
Dart 3 compatible
Maintenance Status: Good

The official dev tools for the Stacked Framework

build_cli
👍 19   ⬇️ 28.7K
Dart 3 compatible
Maintenance Status: Good

Parse command line arguments directly into an annotation class using the power of build_runner and source_gen.

feature_folder_cli
👍 42   ⬇️ 36
Dart 3 compatible
Maintenance Status: Poor

CLI utility that generates a folder structure to reduce the repetitive work required to setup directories for models, services, repositories, screens and widgets.

cli_dialog
👍 38   ⬇️ 1.8K
Dart 3 compatible
Maintenance Status: Poor

Create beautiful and powerful CLI prompts in Inquirer.js style and test them.

cli_spin
👍 33   ⬇️ 6.7K
Dart 3 compatible
Maintenance Status: Poor

A Dart package that enhances the user experience by displaying a sleek terminal spinner for both sync and async operations.

cli_badges
👍 10   ⬇️ 34.1K
Dart 3 compatible
Maintenance Status: Poor

Print badges to the terminal. Yup, those nifty little thingies we use on readmes, but for CLI apps.

ansi
👍 5   ⬇️ 39.4K
Dart 3 compatible
Maintenance Status: Poor

Terminal string styling done right with a number of builtin style functions.

dartdosh
👍 31   ⬇️ 159
Dart 3 compatible
Maintenance Status: Good

A powerful Flutter build CLI tool with automatic version management, smart file naming, and personalized experience

flutter_starter_cli
👍 30   ⬇️ 32
Dart 3 compatible
Maintenance Status: Poor

A command line tool that provides ease of setting up a Flutter project.

ansix
👍 27   ⬇️ 3.2K
Dart 3 compatible
Maintenance Status: Good

AnsiX is a powerful and easy-to-use library that provides tools and extensions for adding ANSI color and styling support to your Dart & Flutter applications.

shell
👍 26   ⬇️ 415
Dart 3 compatible
Maintenance Status: Poor

Wrapper over `dart:io` [Process] API's that supports additional features.

fdb
👍 19   ⬇️ 1.2K
Dart 3 compatible
Maintenance Status: Good

Flutter Debug Bridge - CLI for AI agents to interact with running Flutter apps on device. Launch, reload, screenshot, inspect widget tree, filter logs.

elementary_cli
👍 17   ⬇️ 52
Dart 3 compatible
Maintenance Status: Poor

CLI utilities for Elementary

bluesky_cli
👍 4   ⬇️ 182
Dart 3 compatible
Maintenance Status: Average

A powerful CLI tool that allows Bluesky Social's APIs to be executed from the command line powered by Dart language.

ai_commit
👍 3   ⬇️ 42
Dart 3 compatible
Maintenance Status: Poor

Dart CLI for generate commit messages with OpenAI

arch_starters
👍 2   ⬇️ 44
Dart 3 compatible
Maintenance Status: Good

A CLI tool to bootstrap Flutter projects with pre-configured architecture patterns (MVVM, Clean Architecture). Rapidly set up new projects with best practices.

filetools
👍 1   ⬇️ 50
Dart 3 compatible
Maintenance Status: Good

FileTools: cross-platform glob & streams.

mvvm_cli_nerdzlab
👍 1   ⬇️ 33
Dart 3 compatible
Maintenance Status: Average

MVVM CLI Tool, a command-line utility designed to streamline the creation of MVVM projects.