Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/learning-powershell/using-vscode.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down