Flutter set bash environmental variable

2022/07/30 21:48

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.

Leave a Reply

Back to top