It's possible install only the components you want from Visual Studio. I chocolatey to install only the compiler and a component needed to compile Cython codes on Windows:
``` choco install -y visualstudio2019buildtools choco install -y visualstudio2019-workload-vctools ```
I this case it's installing Visual Studio 2019.