Pages

Wednesday, January 25, 2023

Flutter command not found , How to Permanently add Flutter Path in Mac OS

  • Download the latest Flutter version from the official site.
  • Unzip it and move it to Any location on your Mac.
  • Open Terminal Any Type   sudo nano /etc/paths 
  • Add this to the file: /Users/yourUserName/Development/flutter/bin  (it is actually your flutter bin location) 
  • Save the file by pressing Ctrl + X then Y and then Enter. 
  • Close the terminal and reopen it again.
  • Run: flutter doctor -v
  • Done

No comments:

Post a Comment