Using Box as your terminal in VS-Code

Just in case you didn’t know - you can use box as one of your defined terminals in VS-Code.

Below is what I have added to the "C:\Users\gavin\AppData\Roaming\Code\User\settings.json"

{
   "terminal.integrated.profiles.windows": {
      "box": {
        "path": "C:\\Users\\gavin\\bin\\box.exe"
      }
    },    
    "terminal.integrated.defaultProfile.windows": "box"
}

Of course you will need to update the path to match YOUR location for the box executable.
And if your using linux or OSX - the first line needs to be changed to match your OS:
Linux : "terminal.integrated.profiles.linux": {
OSX: "terminal.integrated.profiles.osx": {

Finally if you don’t want box to be your default terminal - remove the very last line and the preceding comma or set it - to your desired default:

{
   "terminal.integrated.profiles.windows": {
      "box": {
        "path": "C:\\Users\\gavin\\bin\\box.exe"
      }
    }
}
{
   "terminal.integrated.profiles.windows": {
      "box": {
        "path": "C:\\Users\\gavin\\bin\\box.exe"
      }
    },    
    "terminal.integrated.defaultProfile.windows": "pwsh"
}
2 Likes