The expressif CMake files and python scripts reference this env var.
We were unable to figure out how to change the terminal environment that CLion uses for CMake so we will need to set up our default terminal to be able to run the esp software setting up the esp environment variables via their export.ps1 script.
pip3.9.exe install -r C:\esp\esp-idf\requirements.txt.Install the python library dependencies in the esp-idf requirements.txt.This will download and install different parts of the toolchain including the xtensa c and c++ compilers to %USERPROFILE%\.expressif for us that is C:\User\thequantizer\.expressif\ as well as things like ninja.python C:\esp\esp-idf\tools\idf_tools.py install.