git clone https://github.com/flutter/flutter.git

b stable

Update your path, and run flutter doctor. That will let you know if there are
other dependencies you need to install to use Flutter (e.g. the Android SDK).

If you did not use the archive, Flutter will download necessary development binaries as they
are needed (if you used the archive, they are included in the download). You may wish to
pre-download these development binaries (for example, you may wish to do this when setting
up hermetic build environments, or if you only have intermittent network availability). To
do so, run the following command:

flutter precache

For additional download options, see flutter help precache.

Warning:
  The Flutter tool may occasionally download resources from Google servers.
  By downloading or using the Flutter SDK you agree to the Google Terms of Service.