Custom PATH VSCode Integrated Terminal Options

Determining custom path on vscode IDE made easily development programs within multiple platforms.

VSCode Environment

${workspaceFolder} workspace folder root
${env:PATH} existing vscode path (mixed with system

Linux Environment

Add custom path to terminal linux

{
  "terminal.integrated.env.linux": {
    "PATH": "${workspaceFolder}/bin:${env:PATH}"
  }
}

Windows Environment

Add path into vscode terminal windows

{
  "terminal.integrated.env.windows": {
    "PATH": "${env:PATH};${workspaceFolder}\\bin;C:\\another\\folder"
  }
}

MAC OSX Environment

Add path into vscode terminal mac osx

{
  "terminal.integrated.env.osx": {
    "PATH": "/home"
  }
}

Now open Terminal and look at PATH

echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/home

Also See