bash: flutter: command not found — Flutter

Sanjeev Bharti
Flutter Lè@rn!ng
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:

  1. macOS operating system installed on your computer.
  2. Flutter SDK downloaded and extracted to a directory on your system.
  3. Basic familiarity with using the Terminal on macOS.

Instructions:

  1. 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.

--

--

Sanjeev Bharti
Flutter Lè@rn!ng

iOS developer skilled in Swift, SwiftUI, and Objective-C. Passionate about crafting seamless user experiences, blending modern and traditional iOS technologies.