System Requirements

  • Operating Systems: macOS (64-bit)

  • Disk Space: 700 MB (does not include disk space for Xcode or Android Studio).

  • Tools: Flutter depends on these command-line tools being available in your environment.

    • bash, mkdir, rm, git, curl, unzip, which

Get the Flutter SDK

To get Flutter, usegitto clone the repository and then add thefluttertool to your path. Runningflutter doctorshows any remaining dependencies you may need to install.

Clone the repository

If this is the first time you’re installing Flutter on your machine, clone thebetabranch of the repository and then add thefluttertool to your path:

$ git clone -b beta https://github.com/flutter/flutter.git
$ export PATH=`pwd`/flutter/bin:$PATH

The above command sets your PATH variable temporarily, for the current terminal window. To permanently add Flutter to your path, see Update your path.

To update an existing version of Flutter, see Upgrading Flutter.

Run flutter doctor

Run the following command to see if there are any dependencies left that you need to install to complete the setup:

$ flutter doctor