Editing PATH in Windows

Environment variables such as PATH help organize computers to make important apps and files easier to access. You can edit PATH using a GUI or with PowerShell.

temporary change with PowerShell

Changes to PATH made this way will only last until you close the terminal.

permanent change with a GUI

  1. Press the Windows key.
  2. Type path and select “edit the system environment variables”.
  3. In the window that pops up, go to the Advanced tab.
  4. Click Environment Variables.
  5. In the user variables (the top box; see below), select the row that has “Path” in the left column.

windows-env-var-editor.jpg

  1. Click Edit.
  2. Click New.
  3. Click Browse.
  4. Select the file or folder you want to add to PATH.
  5. Click OK on each of the new windows.
  6. Restart any running terminal for the change to take effect.