How to resolve "bash: flutter: command not found" error in macOS Terminal

09.11.2020 00:00
#FLUTTER #MACOS #HATA

How to resolve "bash: flutter: command not found" error in macOS Terminal

This error is caused by not adding flutter to the path list, which we often encounter in Windows.

We open a new terminal window to solve the error.

1- We run the command sudo nano / etc / paths. If he wants, we enter our password.

2- We add the path to our flutter directory on the page that opens.

For example: / Users / yourUserName / flutter / bin

3- When we open a new terminal window and try it, we see that the problem is solved.