What command checks your Flutter installation?
flutter doctor is a diagnostic tool that checks your environment and reports what's installed and what's missing.
Install Flutter and get your development environment ready
Passing the Quiz & Exercises is mandatory to earn FX and proceed. If you fail, try again to gain the required FX, then the Proceed button will become available.
You can read this lesson publicly. Sign in to unlock exercises, quiz, and FX progress tracking.
Having trouble? AI is here to help
Ask context-aware questions about this lesson. Free plan: 5 questions/day. Upgrade to Premium for higher daily limits.
Use the AI button at the bottom of the screen
Before you can build Flutter apps, you need to set up your development environment. This lesson will walk you through every step of the process.
You can learn and practice Flutter code right here in this course without installing anything on your computer. However, for building and running real apps on your own device, you will need the local setup described below.
C:\flutterC:\flutter\bin to your system PATHflutter doctor# Option 1: Direct download from the official website
# Option 2: Using Homebrew
brew install --cask flutter
# Using snap (easiest)
sudo snap install flutter --classic
Flutter comes with a diagnostic tool that checks your setup:
1# Run this in your terminal2flutter doctor34# Expected output:5# [✓] Flutter (Channel stable, 3.x.x)6# [✓] Android toolchain7# [✓] Chrome - develop for the web8# [✓] Android Studio9# [✓] VS Code10# [✓] Connected device
It is completely normal to see some X marks on your first run. You only need the tools for the platforms you want to target. For web development, just having Chrome installed is enough to get started.
Once Flutter is installed, create your first project:
1# Create a new Flutter project2flutter create my_first_app34# Navigate into the project5cd my_first_app67# Run the app (make sure a device/emulator is connected)8flutter run910# Or run on Chrome (web)11flutter run -d chrome
| Platform | Requirements |
|---|---|
| Android | Android Studio + Android SDK |
| iOS | macOS + Xcode (Mac only) |
| Web | Chrome browser |
| Windows | Visual Studio 2022 with C++ workload |
| macOS | Xcode (Mac only) |
| Linux | clang, cmake, gtk, ninja-build |
You do not need to set up all platforms at once. Start with web (Chrome) or Android since those are the easiest to get running, and add more platforms later as needed.
If you just want to try Flutter quickly, install the Flutter SDK along with VS Code and Chrome. You can start building and running web apps immediately without needing any emulators or physical devices.
Most beginners get blocked by small environment issues. Use this quick guide:
| Problem | Likely Cause | Practical Fix |
|---|---|---|
| flutter command not found | PATH not updated | Reopen terminal after updating PATH and verify flutter/bin path |
| No devices found | Emulator or Chrome not available | Start emulator manually or run with -d chrome |
| Android licenses missing | SDK licenses not accepted | Run flutter doctor --android-licenses |
| Gradle build failure | Missing Android SDK components | Open Android Studio SDK Manager and install missing tools |
| iOS setup warning on Windows | Platform mismatch | Ignore iOS warnings unless you are on macOS |
The key is to fix one warning at a time, then rerun flutter doctor.
Start with Flutter SDK + VS Code + Chrome. Once web works, then add Android emulator. This staged setup avoids too many variables at once.
Install Flutter and get your development environment ready. Flutter lets you build one app codebase and run it on Android, iOS, web, and desktop.
Build confidence with basics first; speed comes later.
After each setup step, run a minimal app to confirm your environment before moving ahead.
Strong fundamentals in setup and platform model save hours of confusion when projects become bigger.
flutter doctor is a diagnostic tool that checks your environment and reports what's installed and what's missing.
VS Code with the Flutter extension provides excellent tooling: IntelliSense, debugging, hot reload support, and a widget inspector.
flutter create generates a new Flutter project with all the necessary boilerplate code and folder structure.
For web development, you only need Chrome installed. No emulators or additional SDKs required!
Something seems incorrect, unclear, or missing? Let us know.
FlutterCraft editorial lessons are reviewed by experienced Flutter developers and updated to stay aligned with modern Flutter and Dart best practices.
Reference docs: Flutter Documentation, Dart Language Tour, and official package documentation where relevant.
Sign in to continue with exercises and quiz for this lesson.
Sign In to Continue