Environment Variables in VSCode Integrated Terminal

  1. Open Settings (Ctrl`+,`)

  2. Find @id:terminal.integrated.env.windows

  3. Select which config you would like to change - User’s or Worspace (recommended)

  4. For the setting Terminal › Integrated › Env: Windows, click the Edit settings.json link

  5. Define your environment variables here:

    {
       ".....": "....",
       "terminal.integrated.env.windows": {
          "ME": "IVAN"
       }
    }