Install Flutter manually
Learn how to install and set up the Flutter SDK manually.
Learn how to install and manually set up your Flutter development environment.
Choose your development platform
#The instructions on this page are configured to cover installing Flutter on a Windows device.
If you'd like to follow the instructions for a different OS, please select one of the following.
Download prerequisite software
#Before installing the Flutter SDK, first complete the following setup.
-
Install Git for Windows
Download and install the latest version of Git for Windows.
For help installing or troubleshooting Git, reference the Git documentation.
-
Set up an editor or IDE
For the best experience developing Flutter apps, consider installing and setting up an editor or IDE with Flutter support.
-
Install the Xcode command-line tools
Download the Xcode command-line tools to get access to the command-line tools that Flutter relies on, including Git.
To download the tools, run the following command in your preferred terminal:
xcode-select --installIf you haven't installed the tools already, a dialog should open that confirms you'd like to install them. Click Install, then once the installation is complete, click Done.
-
Set up an editor or IDE
For the best experience developing Flutter apps, consider installing and setting up an editor or IDE with Flutter support.
-
Download and install prerequisite packages
Using your preferred package manager or mechanism, install the latest versions of the following packages:
curlgitunzipxz-utilsziplibglu1-mesa
On Debian-based distros with
apt-get, such as Ubuntu, install these packages using the following commands:sudo apt-get update -y && sudo apt-get upgrade -y sudo apt-get install -y curl git unzip xz-utils zip libglu1-mesa -
Set up an editor or IDE
For the best experience developing Flutter apps, consider installing and setting up an editor or IDE with Flutter support.
-
Set up Linux support
If you haven't set up Linux support on your Chromebook before, Turn on Linux support.
If you've already turned on Linux support, ensure it's up to date following the Fix problems with Linux instructions.
-
Download and install prerequisite packages
Using
apt-getor your preferred installation mechanism, install the latest versions of the following packages:curlgitunzipxz-utilsziplibglu1-mesa
If you want to use
apt-get, install these packages using the following commands: