- Open the Start Search, type in “env”, and choose “Edit the system environment variables”
- Click the “Environment Variables…” button.
- Set the environment variables as needed.
- Dismiss all of the dialogs by choosing “OK”. Your changes are saved!
Applying the change
Due to how Windows applies environment variables, you most likely need to restart apps for them to pick up the change, including explorer.exe. Restarting the machine is recommended (but not required) and ensures all apps are run with the PATH change.
To test it, in new PowerShell window, type: