xxxxxxxxxx
# Replace <install_directory> with the desired location for the Flutter SDK
$ cd <install_directory>
$ git clone https://github.com/flutter/flutter.git -b stable
# Add the Flutter SDK to your PATH variable
$ export PATH="$PATH:<install_directory>/flutter/bin"
# Verify the installation
$ flutter doctor
xxxxxxxxxx
flutter config --android-sdk <path-to-your-android-sdk-path>
flutter doctor --android-licenses
flutter doctor -v
where dart