My question is how to make the VS Code command line work properly when manually adding it to PATH on Windows?
Inside Visual Studio code, I first tried installing it with the “install in PATH” checkmark, but when I typed code on the command line, it said that the command was not recognized. So I manually edited PATH and added C:\Program Files (x86)\Microsoft VS Code .
However, when executing commands such as:
code -v
the command line does not print anything, but instead runs Visual Studio code.
source share