Use WSL mode to develope sfdx
use wsl/git bash/Msys2 bash to develope sfdx.
Open cmd/wsl/bash
use wsl
open wslmode
1
2
3
4
{
"xysfdx.shellMode": "wsl",
"xysfdx.shellPath": "C:\\Windows\\System32\\bash.exe"
}
use msys2 bash
1
2
3
4
{
"xysfdx.shellMode": "bash",
"xysfdx.shellPath": "C:\\msys64\\usr\\bin\\bash.exe"
}
use git bash
1
2
3
4
{
"xysfdx.shellMode": "bash",
"xysfdx.shellPath": "C:\\Program Files\\Git\\usr\\bin\\bash.exe"
}