FLUTTER INSTALLATION SETUP GUIDE
Install Flutter SDK
Download Flutter
1. Download the Flutter SDK from the official website:
https://flutter.dev/docs/get-started/install
2. Extract the downloaded archive:
- Windows: Extract the .zip file to C:\flutter
- macOS/Linux: Extract the .tar.xz file to a preferred directory.
Add Flutter to PATH
Windows
1. Open Environment Variables:
- Search for Environment Variables in the Windows search bar.
- Under "System Variables," find Path and click Edit.
2. Add the Flutter bin directory:
C:\flutter\bin
3. Click OK to save.
macOS/Linux
1. Open your shell configuration file:
- Bash: nano ~/.bashrc
- Zsh: nano ~/.zshrc
2. Add the following line:
export PATH="$PATH:/path-to-flutter/bin"
3. Save and reload the configuration:
source ~/.bashrc # Or ~/.zshrc for Zsh
Verify Flutter Installation
Run the following command to check the installation:
flutter doctor
This checks for dependencies and displays issues that need fixing (e.g., missing Android Studio, Xcode, or device setup).