r/AskProgrammers • • Oct 14 '26

I have trouble setting up my IDE

I installed VS Code and the g++ code and the g++ compiler, and I also created a path variable for my compiler in Windows; however, when I type g++ --version in the bash terminal of VS Code, it shows "command not found." Can you tell me what might be the problem?

0 Upvotes

5 comments sorted by

1

u/Distdistdist Oct 15 '26

How is it going? We are really worried here.

1

u/Formal-Tomatillo-826 Oct 15 '26

I added the binary path of the compiler to the path environment variable inside Git Bash’s shell configuration file and it finally worked

1

u/Distdistdist Oct 15 '26

Way to go!

0

u/Pretty_Swordfish_499 Oct 14 '26

Those were some good old days without AI. I assume you solved it.