export flutter path in mac code example
Example 1: flutter sdk path mac
$ open ~/.bash_profile
#2 paste following lines
PATH="/Users/vrushali/Downloads/flutter/bin:${PATH}"
export PATH
Example 2: add flutter to path mac permanently
Open Terminal
nano ~/.zshrc
Add: export PATH=[PATH_TO_FLUTTER_GIT_DIRECTORY]/flutter/bin:$PATH
Run: source ~/.zshrc
restart terminal
Run: flutter doctor -v