bash: flutter: command not found — Flutter
Published in
2 min readMay 9, 2024
Below is a detailed document outlining the instructions for setting the Flutter path in the bash shell on macOS:
Setting Flutter Path in macOS Bash Shell
Introduction: This document provides step-by-step instructions for setting the Flutter path in the bash shell on macOS. By adding the Flutter SDK’s bin
directory to the system's PATH
environment variable, users can run Flutter commands directly from the Terminal.
Prerequisites:
- macOS operating system installed on your computer.
- Flutter SDK downloaded and extracted to a directory on your system.
- Basic familiarity with using the Terminal on macOS.
Instructions:
- Find the Flutter SDK Path:
- Download the Flutter SDK from the official Flutter website: Flutter SDK
- Extract the downloaded Flutter SDK archive to a preferred location on your Mac. Make a note of the path to the Flutter SDK directory.
2. Open Terminal:
- Launch the Terminal application on your Mac. You can find it in the Applications folder under Utilities, or use Spotlight search to locate it quickly.