Installing Flutter

Installing Flutter on Mac

zsh: add flutter to $PATH

open a terminal in $HOME and run:

  1. touch .zshrc
  2. open .zshrc
  3. Add the following line and change [PATH_TO_FLUTTER_GIT_DIRECTORY] to be the path where you cloned Flutter’s git repo:

$ export PATH=”$PATH:[PATH_TO_FLUTTER_GIT_DIRECTORY]/flutter/bin”

Platform Setup:

iOS

  1. install Xcode (on app store)
  2. install Java and JDK

Android

install android studio and go through setup wizard

  1. Start Android Studio.
  2. Open plugin preferences (Config > Preferences > Plugins on macOS, File > Settings > Plugins on Windows & Linux).
  3. Select Marketplace, select the Flutter plugin and click Install.
  4. Click Yes when prompted to install the Dart plugin.
  5. Click Restart when prompted.

note: opening a folder in Finder using zsh is “open -a Finder foldername”. Can include the folder you’re currently in (remember . , .. , and ~ )

Leave a comment