AppTech Logo
How to Setup Flutter on MacOS ( 2026 Guide )
Flutter

How to Setup Flutter on MacOS ( 2026 Guide )

IA
Irfan Ahmad
Mobile App Developer
July 15, 2026

Keywords:

flutter
macos
setup
installation
guide
manual
easy setup

Get the Flutter SDK running on your Mac and pass flutter doctor clean.

Why it matters

  • macOS is the only platform that can build for both iOS and Android from one machine
  • Google's VS Code extension installer handles most of this automatically now, so manual PATH editing is mostly optional
  • flutter doctor is the single command that tells you exactly what's still broken

1. Install the editor extension (easiest path)

  • Install VS Code, then search "Flutter" in the Extensions panel and install it
  • On first Flutter command, VS Code prompts to download the SDK for you — no manual PATH edit needed
Install Flutter Extension And Dart

Install Flutter Extension

Blog post image

2. Manual SDK install (if you skip the extension, or want full control)

  • Check your chip first: Apple menu → About This Mac → note Apple Silicon vs Intel
  • Download the matching SDK zip from Flutter's site
  • Extract to ~/develop/ (or wherever you keep dev tools)
  • Add to PATH: open ~/.zshrc, add export PATH="$PATH:$HOME/develop/flutter/bin", then source ~/.zshrc

3. Xcode setup (needed for iOS builds)

  • Install Xcode from the App Store — this step is slow, expect 30-60+ min
  • Run: sudo xcode-select -s /Applications/Xcode.app/Contents/Developer && xcodebuild -runFirstLaunch
  • Accept the Xcode license when prompted
  • Apple Silicon only: run sudo softwareupdate --install-rosetta --agree-to-license

4. Run flutter doctor and fix what it flags

  • Run flutter doctor in terminal
  • The full flutter doctor output. Every [✗] line tells you exactly what's missing (missing Android SDK, unaccepted licenses, Xcode not found, etc.) — crop/highlight the red [✗] lines specifically, that's the part worth showing
  • Common fix: flutter doctor --android-licenses to accept SDK licenses if Android toolchain shows an error
  • Common fix: if flutter command isn't found after PATH edit, close and reopen the terminal fully (a source in one tab doesn't propagate to others)
Blog post image

5. Confirm everything works

  • Install Android Studio (needed for the Android SDK even if you don't use it as your editor)
  • flutter create my_app && cd my_app && flutter run
Blog post image

Sources

Related Articles

5 Frontend Performance Patterns Every Developer Should Know

5 Frontend Performance Patterns Every Developer Should Know

A frontend developer can't make the network faster. But they can architect the interface to feel responsive despite the network's slowness. Modern applications do this by mastering five patterns that every developer should recognize and understand when to use.

Read More