mirror of
https://github.com/PowerShell/PowerShell.git
synced 2024-11-24 02:04:07 +08:00
Update PowerShell executable name in using-vscode.md (#5593)
This commit is contained in:
parent
b5f84c2b39
commit
ff8679b344
@ -59,13 +59,13 @@ If you wish to use a specific installation of PowerShell with Visual Studio Code
|
||||
|
||||
```json
|
||||
// On Windows:
|
||||
"powershell.powerShellExePath": "c:/Program Files/PowerShell/<version>/powershell.exe"
|
||||
"powershell.powerShellExePath": "c:/Program Files/PowerShell/<version>/pwsh.exe"
|
||||
|
||||
// On Linux:
|
||||
"powershell.powerShellExePath": "/opt/microsoft/powershell/<version>/powershell"
|
||||
"powershell.powerShellExePath": "/opt/microsoft/powershell/<version>/pwsh"
|
||||
|
||||
// On macOS:
|
||||
"powershell.powerShellExePath": "/usr/local/microsoft/powershell/<version>/powershell"
|
||||
"powershell.powerShellExePath": "/usr/local/microsoft/powershell/<version>/pwsh"
|
||||
```
|
||||
|
||||
3. Replace the setting with the path to the desired PowerShell executable
|
||||
|
Loading…
Reference in New Issue
Block a user