LinuxCommandLibrary

flutter

command-line tool for the Flutter UI framework

TLDR

Create new project

$ flutter create [app_name]
copy
Run app in debug
$ flutter run
copy
Build release APK
$ flutter build apk
copy
Get dependencies
$ flutter pub get
copy
Run tests
$ flutter test
copy

SYNOPSIS

flutter command [options] [arguments]

DESCRIPTION

flutter is the command-line tool for the Flutter UI framework. It manages projects, dependencies, builds, and development workflows for cross-platform applications.
Flutter creates native apps for iOS, Android, web, and desktop from a single Dart codebase. The CLI handles hot reload during development and production builds for distribution.
The doctor command verifies installation and identifies missing platform tools.

PARAMETERS

COMMAND

Operation: create, run, build, test, pub, etc.
create NAME
Create new Flutter project.
run
Run app on device/emulator.
build TARGET
Build app (apk, ios, web).
test
Run unit and widget tests.
pub SUBCMD
Package management.
doctor
Check environment setup.
devices
List connected devices.
--help
Display help information.

CAVEATS

Requires platform SDKs (Android SDK, Xcode). Large initial download. Different platforms need different setup.

HISTORY

Flutter was created by Google and released in 2017. It provides a reactive UI framework with its own rendering engine, enabling consistent appearance across platforms.

SEE ALSO

dart(1), flutter-pub(1), adb(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community