How do I set environment variables in Windows 10?
To create or modify environment variables on Windows 10:
- On the Windows taskbar, right-click the Windows icon and select System.
- In the Settings window, under Related Settings, click Advanced system settings. …
- On the Advanced tab, click Environment Variables. …
- Click New to create a new environment variable.