How to contribute to the Flutter engine [Windows]

Writing this thing because its a pain setting up the repo + the docs are outdated. Make sure that you don’t have any flutter executable in your PATH. Install python3 git depot\_tools Visual Studio 2017Windows 10 SDK` (required for non-Googlers only). Make sure to install the “Debugging Tools for Windows” feature. git clone https://github.com/flutter/flutter.git cd flutter git remote rename origin upstream Fork flutter and change the origin to your fork: git remote add origin git@github.com:\/flutter.git Add flutter/bin to PATH. make sure flutter is in your PATH where.exe flutter you'd might need to restart your terminal Setting up the engine development environment Add these to your env vars: DEPOT_TOOLS_WIN_TOOLCHAIN=0 GYP_MSVS_OVERRIDE_PATH=C:\Program Files\Microsoft Visual Studio\2022\Community (make sure the path is correct) cd flutter/engine cp .\scripts\standard.gclient .gclient Flutter has a tool for building the engine called et. Add it to PATH: C:\Users\temp\Desktop\flutter\engine\src\flutter\bin cd into flutter/engine and run et build to build the engine. (make sure et is in your PATH) Go make some ☕️

Apr 29, 2025 - 07:32
 0
How to contribute to the Flutter engine [Windows]

Writing this thing because its a pain setting up the repo + the docs are outdated.

  1. Make sure that you don’t have any flutter executable in your PATH.
  2. Install python3 git depot\_tools Visual Studio 2017Windows 10 SDK` (required for non-Googlers only). Make sure to install the “Debugging Tools for Windows” feature.
  3. git clone https://github.com/flutter/flutter.git
  4. cd flutter
  5. git remote rename origin upstream
  6. Fork flutter and change the origin to your fork: git remote add origin git@github.com:\/flutter.git
  7. Add flutter/bin to PATH.

Image description

  1. make sure flutter is in your PATH where.exe flutter you'd might need to restart your terminal

Image description

Setting up the engine development environment

  1. Add these to your env vars:
    • DEPOT_TOOLS_WIN_TOOLCHAIN=0
    • GYP_MSVS_OVERRIDE_PATH=C:\Program Files\Microsoft Visual Studio\2022\Community (make sure the path is correct)
  2. cd flutter/engine
  3. cp .\scripts\standard.gclient .gclient
  4. Flutter has a tool for building the engine called et. Add it to PATH: C:\Users\temp\Desktop\flutter\engine\src\flutter\bin
  5. cd into flutter/engine and run et build to build the engine. (make sure et is in your PATH)
  6. Go make some ☕️