In daily use of the vscode editor, we can use the "Ctrl `" shortcut key to bring up the terminal panel, as shown below:
The shell (the red part in the lower right corner of the picture above) can be set,
Let’s take a look at how to modify the default shell:
Open the settings page in File-> Preferences-> Settings, search for shell or find Terminal>Integrated>Shell:Windows,
Switch the address to one of the following you need Shell address (powershell, cmd, and bash)
powershell: "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
cmd: "C:\\Windows\\System32\\cmd.exe",
bash: "D:\\soft\\git\\bin\\bash.exe"
Related recommendations: vscode tutorial
The above is the detailed content of How to modify the terminal in vscode. For more information, please follow other related articles on the PHP Chinese website!