Install Flutter and Set Up Your Editor

Google Flutter 12 min min read Updated: Nov 16, 2026 Beginner
Install Flutter and Set Up Your Editor
Beginner Topic 2 of 5

What You Will Install

ToolPurpose
Flutter SDKThe framework and tools. It already includes Dart
Code editorVS Code (lighter) or Android Studio (all-in-one)
Android SDK and emulatorTo run and test Android apps
Xcode (Mac only)Required for iOS apps
ChromeOptional, to run your app as a website
Tip: Follow the official installation page at docs.flutter.dev for your operating system. The screens and exact steps are updated often. This lesson explains the whole picture so you always know what each step does.

Step 1: Download the Flutter SDK

  1. Open the Flutter installation page and pick your operating system.
  2. Download the latest stable SDK, or use the quick installer they suggest.
  3. Extract it to a simple folder such as C:\dev\flutter or ~/development/flutter.
  4. Do not use a folder with spaces, or a protected folder such as C:\Program Files.

Step 2: Add Flutter to PATH

Adding the bin folder to your PATH lets you type flutter in any terminal.

bash # Mac / Linux (add to ~/.zshrc or ~/.bashrc) export PATH="$PATH:$HOME/development/flutter/bin" # Windows: open "Edit environment variables" and add # C:\dev\flutter\bin to the Path variable

Step 3: Run flutter doctor

bash flutter --version flutter doctor

flutter doctor checks your computer and tells you what is missing. A green check means that part is ready. Read the messages carefully, because they usually tell you exactly what to do.

Result

Flutter (stable channel), Android toolchain, Chrome, Android Studio, VS Code and Connected device are all marked with a green check.

Step 4: Install an Editor

Option A: VS Code

  • Install Visual Studio Code.
  • Open Extensions and install Flutter (it also installs the Dart extension).
  • Press Ctrl+Shift+P (Cmd+Shift+P on Mac) and run Flutter: New Project.

Option B: Android Studio

  • Install Android Studio.
  • Open Plugins and install the Flutter plugin (it also installs Dart).
  • It also includes the Android SDK and emulator manager.

Step 5: Accept Android Licenses

bash flutter doctor --android-licenses

Press y to accept each license.

Step 6: Create a Device to Run Your App

DeviceHow
Android emulatorAndroid Studio > Device Manager > Create Device
Real Android phoneEnable Developer options and USB debugging, then connect by USB
iOS simulator (Mac)Install Xcode, then run open -a Simulator
Chrome (web)Nothing to install, just choose Chrome as the device
bash flutter devices

Common Problems

ProblemSolution
flutter is not recognizedPATH is not set. Close and reopen the terminal after changing it
Android license status unknownRun flutter doctor --android-licenses
Emulator is slowEnable virtualization (VT-x or Hyper-V) in BIOS, or test on a real phone
cmdline-tools missingIn Android Studio SDK Manager, install Android SDK Command-line Tools
No setup possible right now? You can still start learning in your browser with DartPad (dartpad.dev), which runs Dart and Flutter code online.

Conclusion

Once flutter doctor is mostly green and you have a device or emulator, you are ready to build. Do not worry about every warning, such as missing Xcode on Windows.

Quick Summary: Install the SDK, add it to PATH, run flutter doctor, install an editor and create a device to run on.

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators