xysfdx Use WSL mode to develope sfdx.

Posted by ExiaHuang on January 3, 2020

Use WSL mode to develope sfdx

use wsl/git bash/Msys2 bash to develope sfdx.

Open cmd/wsl/bash

xysfdx-open-wsl.png

xysfdx-open-wsl

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"
}