Download the Flutter SDK
Download the following installation package to get the latest Stable Flutter SDK: The Flutter Stable SDK
You can also toggle branches as needed, for example to get stable versions with the following parameters:
git clone https://github.com/flutter/flutter.git -b stable --depth 1
Copy the code
Configure environment variables
Vim. bash_profile //[PATH_TO_FLUTTER_GIT_DIRECTORY] change your file path to export PATH="$PATH:[PATH_TO_FLUTTER_GIT_DIRECTORY]/flutter/bin" wq! Save source. bash_profile which flutter // View the flutter environment variable, flutter --version // View the current flutter installed version. Echo $PATH // View the PATH configuration Flutter doctor // Detects default packetsCopy the code
Download the development environment
- AndroidStudio + Flutter plugin
- XCode
- VsCode
- Etc.