zsh: add flutter to $PATH
open a terminal in $HOME and run:
- touch .zshrc
- open .zshrc
- 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
- install Xcode (on app store)
- install Java and JDK
Android
install android studio and go through setup wizard
- Start Android Studio.
- Open plugin preferences (Config > Preferences > Plugins on macOS, File > Settings > Plugins on Windows & Linux).
- Select Marketplace, select the Flutter plugin and click Install.
- Click Yes when prompted to install the Dart plugin.
- 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 ~ )