Allow MSYS2 GCC to be used in Windows version of node-gyp
Author: ClayblockunovaCreated Jul 21, 2026Updated Jul 22, 2026
LabelsMSYS2
Currently, node-gyp in Windows need VS for working, but I have MSYS2 with GCC and don't want to install another C compiler. what should I do if I want to use node-gyp in Windows with MSYS2 GCC?
btw, os.type() may not be a good solution since I want to use MSYS2 GCC in Powershell.
Source: nodejs/node-gyp