Git not found in PATH, please install Git

Hello, since a few days i’m getting this message as soon as vscode is launched.

Resolving esp32dev dependencies…

Git not found in PATH, please install Git.

Git is needed for Platform espressif32 to work.

I have several projects that were compiling fine, but now they are not compiling.

How do I install GIT?

Br

Juan

Forgot, this is part of my ini file

[env:esp32dev]

platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.13/platform-espressif32.zip

board = esp32dev

framework = arduino

Go to Git - Downloads and install git for your OS.

Hello Sivar, thanks for feedback.

I think it’s already installed.

I opened the settings.json file and found “git.path” empty.

Put the route “C:\\Users\\Juan\\.espressif\\tools\\idf-git\\2.39.2\\cmd\\git.exe” closed vsc, reboot pc and still getting same message error, no project compiling.

You should prefer a globally install Git program versus a git.exe that is insisde some espressif toolchain that PlatformIO doesn’t even use.

Installing it through git scm and making sure to check the “Add to PATH” checkbox during installation and a reboot is all it needs.

Hello Max, Sivar, i installed git for win from the link provided in messages above.

It’s working now, didn’t do anything else.

Didn’t modify the “settings.json” file at all.

I really don’t know how’s exactly working but it does.

It was working fine before too. Why it suddenly started to ask for git ??

Br

Juan

Because it’s a dependency of https://github.com/pioarduino/platform-espressif32 that was introduced last month.

https://github.com/pioarduino/platform-espressif32/blame/2ca7267f1864df55346aa44ba591fef3f6f24710/platform.py#L103