Environment Setup
Installation:
Mac:
Extract the file in the desired location, for example:
cd ~/development
unzip ~/Downloads/flutter_macos_2.10.5-stable.zipAdd the flutter tool to your path:
export PATH="$PATH:`pwd`/flutter/bin"This command sets your PATH variable for the current terminal window only. To permanently add Flutter to your path, see Update your path.
Windows:
Extract the zip file and place the contained flutter in the desired installation location for the Flutter SDK (for example, C:\src\flutter).
Warning: Do not install Flutter to a path that contains special characters or spaces.
Warning: Do not install Flutter in a directory like C:\Program Files\ that requires elevated privileges.
Run flutter doctor
flutter doctorRun the following command to see if there are any dependencies you need to install to complete the setup (for verbose output, add the -v flag):
flutter doctorThis command checks your environment and displays a report to the terminal window. The Dart SDK is bundled with Flutter; it is not necessary to install Dart separately. Check the output carefully for other software you might need to install or further tasks to perform
For example:
Last updated