Tag Archives: Visual Studio Code

Visual Studio Code: ‘gcc’ is not recognized as an internal or external command, operable program or batch file.

  • Visual Studio Code – Main menu > View > Extensions > Install: C/C++ for Visual Studio Code and Code Runner
  • Download MinGW – Minimalist GNU for Windows (MinGW Installation Manager) > In “Basic setup” mark all packages to be installed > MiniGW Installation Manager Main menu > Installation > Apply changes > Copy the path where the \bin folder can be found e.g. C:\MiniGW\bin
  • Windows Desktop > This PC > right click > Properties > Advanced system settings > Environment variables > System variables > find the PATH variable and click Edit > click New and add the path C:\MiniGW\bin
  • Visual Studio Code – Main menu > File > Preferences > Settings > in the search box type “runner” > select the setting “Run in Terminal”.

Visual Studio Code Version: 1.53.2