Install Flutter SDK on Windows
The Flutter SDK consists of various tools and programs that allow for Flutter development. This article will take us through the steps necessary to install that SDK on Windows.
Downloading the Flutter SDK
We need to first download the Flutter SDK for Windows. This is a zip file that we need to unzip into a local directory, for example, c:\tools\flutter
.
Updating the system path
Now that we have the Flutter SDK unzipped into a local directory, we need to tell Windows where to find the SDK. To do this, we can use the Control Panel
on Windows to update the path variable.
Open control panel
First, open the Control Panel with the Search Box near the Start Menu on the bottom of the Windows screen.
Navigate to system settings
When the Control Panel appears, select System and Security
.
Select system
Next, select System
.
Navigate to advanced settings
Next, select Advanced systems settings
.
Configuring environment variables
We need to update our path to include a new entry to the Flutter SDK’s bin
folder. For example, the path could be c:\tools\flutter\bin
. After entering this information, hit OK and close the control panel.
Intro to Flutter
This course will introduce learners to the Flutter framework with interactive lessons on basic app components.Try it for freeVerify the flutter installation
We now have our system path set up and can verify our installation. Let’s open up a new [terminal](https://www.codecademy.com/resources/docs/command-line/terminal and enter the following command to check our Flutter SDK installation:
flutter --version
The output should look similar to the following:
Flutter 3.3.10 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 135454af32 (6 weeks ago) • 2022-12-15 07:36:55 -0800
Engine • revision 3316dd8728
Tools • Dart 2.18.6 • DevTools 2.15.0
When we see this output, we know we have successfully installed the Flutter SDK!
Conclusion
Congratulations! We are almost done with this lesson, but before we finish, let’s review what we learned about installing the Flutter SDK on Windows:
- We copy the zip to a folder (for example
c:\tools\flutter
) and unzip the files. - We open Control Panel and edit our path to include an additional entry for the
bin
folder in the Flutter folder (for examplec:\tools\flutter\bin
). - To test the installation, we should open a new command line and type in the
flutter –version
command.
'The Codecademy Team, composed of experienced educators and tech experts, is dedicated to making tech skills accessible to all. We empower learners worldwide with expert-reviewed content that develops and enhances the technical skills needed to advance and succeed in their careers.'
Meet the full teamRelated articles
- Article
Flutter Installation Overview
This article will describe installing the tools needed to support Flutter development. - Article
How to install the Flutter SDK on macOS
Learn how to install the Flutter SDK on macOS with this step-by-step guide, covering chipset detection, shell configuration, and verification. - Article
Check Your Flutter Installation with Flutter Doctor
This article will describe using the Flutter Doctor tool to verify our Flutter setup.
Learn more on Codecademy
- Free course
Intro to Flutter
This course will introduce learners to the Flutter framework with interactive lessons on basic app components.Beginner Friendly1 hour - Course
Learn the Command Line
Learn about the command line, starting with navigating and manipulating the file system, and ending with redirection and configuring the environment.With CertificateBeginner Friendly4 hours - Free course
Learn the Command Line: Configuring the Environment
Learn how to configure your environment and set up your settings and preferences from the command line.Beginner Friendly1 hour