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.
Get the Flutter SDK
To get Flutter, use
gitto clone the repository and then add the
fluttertool to your path. Running
flutter doctorshows any remaining dependencies you may need to install.
Clone the repo
If this is the first time you’re installing Flutter on your machine, clone the
betabranch of the repository and then add the
fluttertool 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