Open terminal in Terminal on Mac, and input the following command:
sudo chown YourUserName ~/.bash_profile export PATH="$PATH:/Users/YourUserName/flutter/bin" echo $PATH which flutter
You can just copy all of above code and paste it in Terminal.