System Requirements
- Operating Systems: macOS (64-bit)
- Disk Space: 700 MB (does not include disk space for IDE/tools).
- Tools: Flutter depends on these command-line tools being available in your environment.
Step 1 : Download Flutter SDK from official website https://flutter.dev/docs/get-started/install/macos and Extract the file in the desired location
Step 2: Open .bashrc and add paths which required for flutter
To edit .bashrc file write below command
nano .bashrc
Now, Add below paths to .bashrc file
export PATH=$PATH:[FLUTTER_DIRECTORY_PATH]/bin
export PATH=$PATH:[ANDROID_SDK_PATH]/platforms
export PATH=$PATH:[ANDROID_SDK_PATH]/platform-tools
export PATH=$PATH:[ANDROID_SDK_PATH]/tools
Step 3: Run .bashrc file with below command
source .bashrc
Step 3: Run below command to check flutter installation in terminal
flutter doctor -v
It will show all the details regarding flutter installation.