Learn · Apps and the command line

What is PATH?

How the terminal finds a command when you type its name.

PATH is a list of folders. When you type a command like bloop in PowerShell or Command Prompt, Windows looks in each folder on the list for a program by that name.

Change it in Settings → System → About → Advanced system settings → Environment Variables. A terminal reads PATH when it opens, so open a new one after a change.

$env:Path -split ';'