Contents
CWCoding With DhrumilCW Practical Flutter and Kotlin tutorials for working mobile developers

Home › Articles

Flutter Installation Checklist for Windows and macOS

By Priya Shah · Published · 3 min read

Laptop on a desk with a checklist notebook for software installation setup.
Laptop on a desk with a checklist notebook for software installation setup. · Foto: Firmbee / Pixabay

Installing Flutter is not one step. It is a chain of small steps that fail in different ways: a missing PATH entry, an unsigned macOS binary, a stale Android SDK path, or an emulator that starts but never connects. Each failure looks like a Flutter problem when it is usually an environment problem.

This checklist walks through the setup in the order that avoids rework. Budget 30 to 60 minutes on a machine that already has Android Studio; 90 minutes or more on a clean system with no JDK and no emulator images.

1. Check your machine before downloading anything

Flutter needs Git, a JDK, and enough free disk space for the SDK plus at least one emulator image. A typical Flutter SDK download is around 1 GB compressed and 2.5 to 3.5 GB unpacked. Add 8 to 12 GB if you install two or three Android system images, since each AVD image is roughly 1.5 to 3 GB.

On Windows, use 64-bit Windows 10 or 11 and confirm PowerShell is on your PATH. On macOS, check that you are on a recent macOS release with Xcode installed if you plan to build for iOS. Run `git --version` and `java -version` first; if either fails, fix that before touching Flutter.

  • 8 GB RAM minimum, 16 GB comfortable with an emulator running
  • SSD with 15 GB free is a safe starting point
  • Git available in the terminal
  • Xcode installed only if you target iOS
8SDK unpack15Android SDK30Xcode + Pods12Emulator3First build
Typical first-run time by setup stage (minutes) (minutes)

2. Download and unpack the SDK to a stable path

Download the stable channel archive from the official Flutter release page. Avoid installing under a path with spaces or non-ASCII characters, and avoid moving the folder later. On Windows, `C:\src\flutter` is a common choice. On macOS, `~/development/flutter` works well and keeps the SDK out of protected system folders.

Do not clone the Git repository manually unless you plan to switch channels often. The archive is simpler and updates cleanly with `flutter upgrade`. If you do clone, expect the SDK folder to be a Git working tree, which means `flutter upgrade` can conflict with local changes.

3. Set PATH and verify the binary runs

Add the `flutter/bin` directory to PATH, then open a fresh terminal. Running `flutter --version` should print the framework version, Dart version, and engine revision. If the command is not found, your shell profile is not being read or the PATH edit landed in the wrong file.

On macOS, Gatekeeper may block the first run of the Dart binary. If you see a security warning, allow it in System Settings under Privacy & Security, then rerun the command. On Windows, close and reopen the terminal after changing environment variables; existing sessions keep the old PATH.

  • Windows: add to the user PATH, not the system PATH, unless you share the machine
  • macOS: edit ~/.zshrc for zsh and restart the terminal
  • Confirm with `which flutter` or `where flutter`

4. Run flutter doctor and fix items in order

`flutter doctor` reports on the SDK, Android toolchain, Xcode, connected devices, and IDE plugins. Fix items top to bottom, because later checks depend on earlier ones. A missing Android SDK is usually a stale path; run `flutter config --android-sdk <path>` and rerun doctor.

Accept Android licenses with `flutter doctor --android-licenses`. On macOS, the CocoaPods check is the most common red item; install it and confirm the version. Do not ignore a warning about a mismatched Java version, since Gradle builds fail with cryptic errors when the JDK and the Android Gradle Plugin disagree.

5. Install editor plugins and a formatter

In VS Code, install the Flutter extension, which pulls in the Dart extension. In Android Studio or IntelliJ, install the Flutter plugin and let it install the Dart plugin when prompted. Both give you hot reload, widget outlines, and error highlighting, but only one editor should be open on a project at a time.

Enable format-on-save and set the line length to 80. Flutter's formatter is opinionated, and a consistent format keeps diffs small when you touch stateful widgets. If you later move between Material and iOS-style widgets, a clean formatter baseline makes style comparisons easier to read.

  • VS Code: Flutter extension plus Dart extension
  • Android Studio: Flutter plugin, then Dart plugin
  • Enable format on save
  • Set max line length to 80
Typical setup times and disk use by step
StepWindows timemacOS timeDisk use
SDK download and unpack5-10 min5-10 min2.5-3.5 GB
Android SDK and licenses10-20 min10-20 min4-8 GB
Xcode and CocoaPodsn/a20-40 min8-15 GB
Editor plugins3-5 min3-5 minunder 500 MB
Emulator image and AVD10-15 min10-15 min1.5-3 GB each
First app build1-3 min2-5 min1-2 GB cache

6. Create and boot an emulator or simulator

In Android Studio's Device Manager, create an AVD on a recent API level with a Play Store image. Cold boot takes 30 to 90 seconds on a laptop; subsequent boots are faster. On macOS, open the iOS Simulator through Xcode and confirm it appears in `flutter devices`.

A device that shows in the list but never connects is usually an adb problem. Run `adb devices` and restart the server if needed. For a deeper look at how state survives a rotate or resize once your app runs, see Handling Configuration Changes in Kotlin Without Losing State; the same lifecycle thinking applies to Flutter widgets.

7. Build the starter app and verify hot reload

Run `flutter create demo_app`, then `flutter run` with a device selected. You should see the counter app in under two minutes after the first Gradle or Xcode build. The first build is the slow one: expect 1 to 3 minutes on Android and 2 to 5 minutes on iOS.

Change the counter increment and save. Hot reload should apply in under a second. If it does not, check that the terminal still has the app running and that you saved the file. Once this works, your toolchain is verified end to end.

  • Fix PATH and Git before Flutter; most 'command not found' errors start there.
  • Run flutter doctor after every environment change and resolve items top to bottom.
  • Budget 15 GB of free disk and 30 to 60 minutes on a machine with Android Studio already installed.
  • Verify hot reload on the starter app before writing any project code.
Priya Shah · Android and Kotlin author
Covers Kotlin, Jetpack libraries and Android architecture with a hands-on approach. Focuses on migration guides, database work and networking patterns for small teams.

Related articles

↑