How to Install & Setup Flutter: The Right Way

Understanding Flutter Installation and Setup Guide

Hey everyone, welcome! In this tutorial, I’m going to walk you through how to install and set up Flutter — the right way. So, let’s dive right in!

Step 1: Download Flutter

  1. Head over to flutter.dev and click on the “Get started” button.
Flutter Get Started Button
  1. From here, choose your preferred platform — mine is Windows. Just below that, you’ll notice some system requirements that need to be met before we continue.
Flutter Supported Platforms

Step 2: Installing Git SCM

  1. Before setting up Flutter, we’ll need to have Git and VS Code installed on our computer. Let’s start with Git.
  2. Head over to: git-scm.com/downloads/win
  3. Then click on the “Click here to download” link.
  1. Once the download finishes, you’ll get a setup file
  2. Double-click the setup file to install Git, and simply follow the on-screen instructions. Once the installation is complete, uncheck everything and click Finish.

Step 3: Installing Visual Studio Code

  1. Next, we’ll need VS Code, our main code editor for Flutter. Head over to: code.visualstudio.com Click on “Download for Windows” to get the setup file.
VS Code Download Button
  1. After the download is complete, you’ll see a file. That’s your setup file — just double-click it, follow the installation instructions, and install VS Code. Once the installation is done, we’re ready for the next big step — downloading Flutter.

Step 4: Installing Flutter

  1. Now, head back to: Flutter’s Quick Start page. You’ll see a section titled “Install and set up Flutter.” That’s the one we need.
  2. In that section, click on “Install Flutter manually.” This will take you to the official manual installation page: flutter.dev/install/manual
  3. Here’s where we’ll download Flutter itself.
  4. Look for the big button labeled something like:
flutter_windows_x.xx.x-stable.zipCode language: CSS (css)
  1. Click on it — this will start the download. Once it’s done, you’ll have a ZIP file. This is the current version of Flutter, but depending on when you’re reading this, the version number might be different — and that’s totally fine.
  2. Now, we need to extract the ZIP file — and where you extract it really matters.

Important:
Don’t install Flutter inside Program Files — it can cause permission issues and mess up your setup later.

  1. Instead, create a clean directory structure like this:
C:\src\flutter\
  • First, create a folder named src
  • Inside it, create another folder named flutter
  • Then extract all the Flutter files inside that flutter folder.
  1. Once the extraction is complete, now inside the Flutter folder, you’ll see a directory named bin.
  2. Go ahead and open that folder, then copy the folder URL from the address bar — we’ll need this path in the next step.
  3. See that blue highlight in the address bar? That’s the folder path (URL) you need to copy.
  4. Now that you’ve copied it, open your Start menu and search for: “Edit the system environment variables”
  5. Click on it, and you’ll see a window pop up:
System Variables in Windows
  1. Once that window opens, click on the “Environment Variables…” button at the bottom.
  2. In the new window that appears, look under the System Variables section and find the variable named Path. Double-click on it. You’ll then see a list of paths:
Path in System Variables
  1. Now, scroll to the bottom of the list, and double-click on the empty line below the last entry.
  2. Paste the Flutter bin path you copied earlier — it should look something like this:
C:\src\flutter\bin
Paste the Path in System Variables
  1. Once done, click OK to close all the windows and save your changes.
  2. See that blue highlight? That means Flutter has been successfully added to your system variables.
  3. Now, click OK on all the open windows to save and close everything.
  4. Once that’s done, open your Terminal or Command Prompt, and type the following command:
flutter --version
Flutter Setting Up
  1. When you see this message, it means Flutter is setting up on your system — downloading all the necessary components for the first time.
  2. This output shows all the key details — your Flutter version, Dart version, and even the developer tools that are included.
  1. Now, it’s time to check if Flutter has everything it needs to run properly. To do that, type the following command in your terminal:
flutter doctor
Flutter Details
  1. Now, look at all those details — there’s quite a bit we still need to install and set up! Let’s start with the first one on the list: Android Studio.

Step 5: Setting Up Android Studio

  1. Head over to developer.android.com/studio Click on “Download Android Studio” and wait for the setup file to finish downloading.
  2. Now, go ahead and run the setup file to install Android Studio. Just follow the on-screen instructions — it’s pretty straightforward.
  3. When the installation wizard asks for components to install, make sure you select everything and then click Install.
  4. The installation might take a little while — Android Studio needs to download and set up several components, so just be patient and let it finish.
Agree Android Licenses
  1. Once everything’s installed, you’ll be greeted with the “Welcome to Android Studio” window:
  1. From the Welcome to Android Studio window, click on “More Actions” at the bottom right corner. From the dropdown menu, select “SDK Manager.”
  2. From the SDK Manager window, click on the “SDK Tools” tab.
  3. This section lists all the tools Android Studio can use — some of them are optional, but a few are essential for Flutter to work properly.
  4. Now, in that list, look for “Android SDK Command-line Tools.” Make sure to check the box next to it — this is very important because Flutter relies on these tools to build and run your apps.
Install Android SDK Command Line Tools
  1. Once selected, click Apply, and let Android Studio download and install the tools.
  2. Click Apply, then OK — this will start downloading and installing the SDK Command-line Tools. Once the installation is complete, click Finish, and close everything.
  3. Now, let’s open our terminal (or command prompt) again and run:
flutter doctor
  1. This will recheck your system and update Flutter with the tools you just installed.
  2. Here, you’ll notice that Android Studio still has a yellow warning mark — that means there’s one last step we need to complete.
Flutter Doctor Pending Marks
  1. To fix it, run this command in your terminal:
flutter doctor --android-licenses
  1. You’ll be prompted to review and accept several Android licenses — just type y for yes each time until all are accepted.
  2. Once that’s done, run flutter doctor again:
flutter doctor
  1. And now, you should see something like this:
Android Studio Success Message in Flutter Doctor

Step 6: Install Google Chrome

  1. Next, we’ll need to install Google Chrome — Flutter uses it as the default browser for running web apps.
  2. Head over to google.com/chrome Click on “Download Chrome”, and follow the setup instructions.
  3. Once the installation is complete, you’ll see Google Chrome ready to go on your desktop:
  4. See? We’re almost there! Just one more thing to install — Visual Studio — and we’ll be all set.

Step 7: Install Visual Studio

  1. Head over to visualstudio.microsoft.com/downloads. Scroll down a bit and download the Community Edition — it’s free and perfect for Flutter development.
  2. Once the installer opens, look for the option “Desktop development with C++.” That’s the one you need to select.
Visual Studio with C++
  1. Go ahead and select the “Desktop development with C++” option, then click Install.
  2. The setup may take a little while — Visual Studio downloads quite a few components in the background, so just let it complete.
  3. Once the installation finishes, run flutter doctor again, you’ll see everything installed and checked:
Flutter Installation Successful
  1. Congratulations! You’ve successfully installed and set up Flutter on your system — great job!

Step 8: Creating a Flutter Project

Now, let’s create a quick test app to make sure everything’s working properly. We’ll call this project flutter_demo.

  1. Open your terminal (or command prompt) and type:
flutter create flutter_demo
  1. Once the project is created, navigate into the folder by typing:
cd flutter_demo
  1. Then, run the app with:
flutter run
  1. And if everything’s set up correctly, you’ll see something like this:
Flutter Devices
  1. But hold on — you might be wondering, “Why can’t I see any Android device?”
  2. That’s because we haven’t started the emulator yet. Let’s fix that.
  3. Open your Start menu and search for Android Studio, then launch it. Once it’s open, click on “More Actions” → “Virtual Device Manager.”
  4. You’ll now see a window listing all your virtual devices (AVDs).
  1. Simply click the (Play) button next to your preferred device, and the emulator will start booting up.
Android Emulator

Tip: The first startup is usually a bit slow, so don’t worry — just give it a minute or two to load completely.

  1. Once it’s up and running, you’ll see your Android emulator home screen
Android Emulator
  1. And right beside it, you’ll see the emulator controls panel — this is where you can manage things like:
  • Simulating phone calls, GPS, or battery levels
  • Rotating the screen
  • Adjusting volume
  • Taking screenshots
  1. Now, head back to your terminal and run the command again:
flutter run
  1. This time, you’ll notice something different — Flutter will automatically detect your Android Emulator and start running the app on it by default.
  2. You should see the familiar Flutter demo app load up inside your emulator:
Flutter Running Through Android Emulator
  1. It might take a little time for Gradle to build everything — especially the first time you run your app. Just be patient and let it finish setting things up.
  2. Once the build is complete, you’ll see your Flutter app appear inside the emulator — just like this:
App running in emulator

That’s it! You’ve successfully set up Flutter — and now you’re ready to start building beautiful apps for Android, Web, Desktop, iOS, and even Smart TVs.

From here, you can explore the endless possibilities Flutter offers — from mobile apps to full-fledged multi-platform experiences.

The hard part’s done. Now it’s time to create something amazing.

Scroll to Top