top ad article

On this article, we are going to look at how to install and run flutter on Windows. Flutter is a free and open source Google’s UI toolkit for creating beautiful, natively compiled apps for mobile, web, and desktop from a single codebase. This software guarantees a fast user experience and is often used by developers and many organizations out there.

To be able to install and run flutter on Windows, you need to meet the following requirements;

  • Windows 7 and later Operating Systems
  • 1.64 GB of disk space
  • Windows PowerShell 5.0 and newer
  • Git for Windows 2.x

Install and Run Flutter on Windows

The following steps will guide you through the whole process until the end;

Step 1. Check for Git

For this to happen, ensure that you have git, from the command prompt by typing git, and you will see various git commands appear;

usage: git [--version] [--help] [-C <path>] [-c <name>=<value>]
           [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
           [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--bare]
           [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
           [--super-prefix=<path>] [--config-env=<name>=<envvar>]
           <command> [<args>]

Step 2. Get Flutter source code from Github

Visit Github flutter repository and get the code from there, then use git to clone the code. Just like as shown;

Step 3. Clone the source code from the command line

Once you et the source code, clone it from the command line as follows; And ensure that you know where to put the source code. For our case, we will clone it on the downloads folder;


C:\>cd users

C:\Users>cd valentine

C:\Users\Valentine>cd downloads

C:\Users\Valentine\Downloads>git clone -b stable
Cloning into 'flutter'...
remote: Enumerating objects: 312054, done.
remote: Counting objects: 100% (927/927), done.
remote: Compressing objects: 100% (652/652), done.
remote: Total 312054 (delta 456), reused 530 (delta 255), pack-reused 311127
Receiving objects: 100% (312054/312054), 146.54 MiB | 1.01 MiB/s, done.
Resolving deltas: 100% (241529/241529), done.
Updating files: 100% (5200/5200), done.

Step 4. Update Flutter to the PATH variable

For Flutter to run well, you need to get it updated to the environmental PATH variable. To do this, follow these steps;

* search for env’ on the taskbar search box, then tap on edit the system environmental variable

*on the advanced section, scroll down and tap on environmental variables

*on the user variable, find PATH then select it and click on edit

*On the next window, tap on new, once you paste the path of the file, click OK for changes to take effect

*since you have not copied the path of flutter file to paste on the step above, go to your downloads section and copy the path of the downloaded file (flutter), then paste it on the path variable you tapped new, on the previous step

N/B; You can follow another one of our articles on how to edit environment Variable, to get a more detailed explanation on how you can edit the PATH variable.

Step 5. Run flutter

To run it, just type flutter on the command prompt;


The output;

Checking Dart SDK version...
Downloading Dart SDK from Flutter engine ...
Building flutter tool...
Running pub upgrade...
Manage your Flutter app development.

The above output is followed by all the commands you can use with flutter.

Step 6. Run Flutter Doctor

Flutter doctor tells you whether you have all the dependencies of flutter installed or there are some that needs installed. Run flutter doctor;

C:\>flutter doctor
Downloading Material fonts...                                      14.0s
Downloading Gradle Wrapper...                                      331ms
Downloading package sky_engine...                                  472ms
Downloading flutter_patched_sdk tools...                         2,656ms
Downloading flutter_patched_sdk_product tools...                 2,421ms
Downloading windows-x64 tools...                                    5.6s
Downloading windows-x64/font-subset tools...                       824ms
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.0.6, on Microsoft Windows [Version 10.0.19042.867], locale en-KE)
[X] Android toolchain - develop for Android devices
    X Unable to locate Android SDK.
      Install Android Studio from:
      On first launch it will assist you in installing the Android SDK components.
      (or visit for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[√] Chrome - develop for the web
[!] Android Studio (not installed)
[√] Connected device (2 available)

From the above output, there is no android SDK. There are those who want to use it and others do not as it takes up a lot of resources. Up to this point you will have learnt how to install and run flutter on Windows.

Other Posts;

Previous articleHow To Install Microsoft Edge on Pop!_OS 20.04|20.10|21.04
Next articleHow to Add PATH Environment Variable in Windows 10
Valentine is eager to learn new things, technology and life issues. She is curious enough to write about them. And, she uses her platform to educate others regarding the many sectors in life and most importantly technology.


Please enter your comment!
Please enter your name here