How to Set Flutter Path in Windows (Step-by-Step Guide for Beginners)

If you have already downloaded the Flutter SDK but the flutter command is not working in Command Prompt, the reason is simple — Flutter is not added to your system PATH.

In this complete guide, you will learn how to set Flutter Path in Windows 10 and Windows 11 correctly and permanently.

Why Do You Need to Set Flutter Path in Windows?

When you run this command:

flutter doctor

Windows must know where the Flutter executable file is located.

If Flutter is not added to the PATH, you will see this error:

'flutter' is not recognized as an internal or external command

To fix this issue, we need to add the Flutter bin folder to the Windows Environment Variables.

Step 1: Locate Your Flutter SDK Folder

First, find where you extracted Flutter.

Example:

C:\src\flutter

Inside that folder, open the bin directory:

C:\src\flutter\bin

This is the path you need to add.

Step 2: Open Environment Variables in Windows

For Windows 11:

  1. Click the Start menu
  2. Search for: Environment Variables
  3. Click Edit the system environment variables
  4. Click Environment Variables

For Windows 10:

  1. Right-click on This PC
  2. Click Properties
  3. Click Advanced system settings
  4. Click Environment Variables

Step 3: Add Flutter to PATH

  1. Under User Variables, select Path
  2. Click Edit
  3. Click New
  4. Paste this path:
C:\src\flutter\bin
  1. Click OK → OK → OK to save

Step 4: Restart Command Prompt

Close any open Command Prompt windows.

Open a new Command Prompt and run:

flutter doctor

If everything is set correctly, Flutter will run successfully.

Common Errors and Fixes

1. Flutter Not Recognized Error

Cause:

  • PATH not added correctly
  • Command Prompt not restarted

Solution:

  • Recheck the PATH value
  • Restart Command Prompt

Read : Flutter Install Error Fixes Guide for Windows, Mac & Linux

2. Added Wrong Folder

Wrong:

C:\src\flutter

Correct:

C:\src\flutter\bin

Make sure you add the bin folder only.

3. PowerShell Not Detecting Flutter

If PowerShell still does not recognize Flutter:

  • Restart your system
  • Try running in CMD
  • Make sure there are no spaces in folder names

Verify Flutter Installation

After setting Flutter Path in Windows, these commands should work:

flutter doctor
flutter --version

Read Articles : Flutter Doctor command — What is flutter doctor (2026 Complete Guide)

Best Practices for Flutter Installation

  • Do not install Flutter inside Program Files
  • Avoid folders with spaces
  • Use a short path like: C:\src\flutter
  • Restart the system if necessary

FAQ – Set Flutter Path in Windows

Do I need to add Flutter to system variables or user variables?

User variables are recommended.

Do I need to set PATH every time?

No. Once added, it remains permanently.

Is system restart mandatory?

Not always. Restarting Command Prompt is usually enough.

Conclusion

Setting Flutter Path in Windows is a crucial step after installing Flutter SDK. Without adding Flutter to PATH, you cannot run Flutter commands.

By following this guide, you can:

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More