Open (or create) $HOME/.bash_profile. You can do that by using terminal text editor by going in terminal and typing nano ~/.bash_profile




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_TO_FLUTTER_GIT_DIRECTORY]/flutter/bin:$PATH




for example:




export PATH=~/Documents/flutter/bin:$PATH




press CTRL X and when it asked you to save the file, choose yes




Run source $HOME/.bash_profile to refresh the current window or restart the terminal




Verify that the flutter/bin directory is now in your PATH by running: echo $PATH

No comments

Yorumunuz, incelendikten sonra paylaşılacaktır

Bu Blogda Ara

Öne Çıkan Yayın

Parallel Desktop Network Initialization Failed

 How to fix ? sudo -b /Applications/Parallels\ Desktop.app/Contents/MacOS/prl_client_app