cl : The term ‘cl’ is not recognized as the name of a cmdlet, function, script file, or operable program

  c++, cl, visual-studio-code

I’ve recently been trying to compile some C++ code using the cl command in a VS Code terminal. I am running VS Code out of the developer terminal and still getting the error. I have tried to re-install VS Code and VS Community, still no luck. I have also double checked to make sure that cl.exe is installed.

I’m clearly missing something here, so any help would be greatly appreciated.

Source: Windows Questions C++