Home > Enterprise >  How do I change VS Code's PATH?
How do I change VS Code's PATH?

Time:10-24

Even though black works in my terminal, I have to provide the absolute path to it in VS Code settings. This is probably because it's installed under ~/.local/bin/ which is not part of VS Code's PATH.

Where is this PATH set and how can I modify it?

CodePudding user response:

not sure if this is exactly what your after but, search env in windows search bar, select edit the system environment variables, select environment variables down the bottom, go to path, this will show you what is in your PATH, you can add or remove things here

CodePudding user response:

You can set it in your settings.json file:

"terminal.integrated.env.linux": {
    "PATH": "~/.local/bin:$PATH",
},
  • Related