Flutter Installation — Flutter Basic Programming — Part 2


  • Download lastest stable release Flutter SDK. Or you can visit SDK Release to find which version you want. After finish, extract the zip file and place the contained flutter in the desired installation location for the Flutter SDK (for example, C:\flutter).
  • If you wish to run Flutter commands in the regular Windows console, take your time to addFlutter to the PATH environment variable.
  • Open window search and type env and select Edit environment variables for your account.
Find edit environment variables

Android Studio

If you aren’t install Android studio, can download at here. After install finish, remember to setup your device to test on real device or on Android emulator.

  • Open Android Studio, open File -> Settings -> Plugin to install Flutter.


  • Download lastest stable version Flutter SDK for MacOS. Or you can visit SDK Release to find which version you want. After finish, extract your download file into your user location. ( For me i extracted into Users/nguyenhuyhoang(my macOS name)).

Update PATH variable

To update your path variable on MacOs it’s difference with Windows.

  • Type “i” to change into insert mode -> insert “export PATH=”PATH:”HOME/flutter/bin” if you set flutter extract location like me inside HOME folder. If haven’t, go to flutter folder that you’re extracted and open -> right click -> Get Info -> right click on “Where” -> Copy as PathName
  • Quit the Terminal and open it again to refresh.
  • Type “echo $PATH” to check that the path was correctly added.
  • Type “which flutter” to verify the flutter command is available. And then type “flutter doctor -v” to check the Flutter version.
  • Install XCode if you haven’t install.
  • Run sudo xcodebuild -license to accept the license agreement.
  • If running the flutter command fails and you get an xcrun error, try typing xcode-select --install to update the Command Line Tools and then restart the Terminal again.
  • Now you might get an error saying: “dart” can’t be opened because Apple cannot check it for malicious software. The only option I found to remedy this is to globally disable Gatekeeper by typing sudo spctl --master-disable

Flutter Version Management (FVM)

This’s a simple CLI that help you manage Flutter SDK versions when you have too many version need to run in one machine. So i’ll introduce here and have guide to help you install it. You can read through this docs.



You can install fvm Standalone with :

choco install fvm
dart pub global activate fvm


You can install fvm Standalone with :

brew tap leoafarias/fvmbrew install fvm
dart pub global activate fvm


Before configuration, you should:

  • If you want to config inside one project, open project terminal and type: “fvm use {version/channel}” Ex: “fvm use stable (or fvm use 2.10.3)”. After that fvm will check to see that you have install this version or not, if haven’t please type “y” to install this version.
  • On VSCode, you can add version symlink for a dynamic switch on settings.json file in vscode folder.
{"dart.flutterSdkPath": ".fvm/flutter_sdk",// Remove .fvm files from search"search.exclude": {"**/.fvm": true},// Remove from file watching"files.watcherExclude": {"**/.fvm": true}}
absolute path from fvm flutter sdk
  • Restart Android Studio to see the new settings applied.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Hoang Nguyen

Hoang Nguyen

I've started with Flutter since 2019 and have good knowledge about Flutter and some architecture. I want to share more of my knowledge and learn more from other