FlutterDocs
Home › Guides › How to Get Path of Flutter SDK

How to Get Path of Flutter SDK

Restored from an archived snapshot captured 2026-07-22. Examples may refer to earlier Flutter versions.

In this post, we are going to show you how to get the installed path of the Flutter SDK. You may need the SDK path for different reasons like upgrading or downgrading SDK version, do other changes to SDK.

Get Path of Flutter SDK

flutter doctor -v

Hit this command on the terminal to get the textual output. The first line is the Flutter SDK path. For example:

Read this also: Flutter CLI – Useful Commands for Flutter Developers

flutter doctor -v
[!] Flutter (Channel [user-branch], 3.27.3, on macOS 15.3.2 24D81 darwin-x64,
    locale en-NP)
    ! Flutter version 3.27.3 on channel [user-branch] at
      /Volumes/Dev/flutter_sdk
      Currently on an unknown channel. Run `flutter channel` to switch to an
      official channel.
      If that doesn't fix the issue, reinstall Flutter by following instructions
      at https://flutter.dev/setup.
    ! Upstream repository unknown source is not a standard remote.
      Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss
      this error.
    • Framework revision c519ee916e (8 months ago), 2025-01-21 10:32:23 -0800
    • Engine revision e672b006cb
    • Dart version 3.6.1
    • DevTools version 2.40.2
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

Here, the bold line /Volumes/Dev/flutter_sdk is the path of Flutter SDK.

In this way, you can get the SDK path of Flutter with the terminal easily.