I open the Command Prompt (CMD), as an Administrator
/Pasted-image-20231110211759.png)
This command will open the Environment Variables dialog, allowing me to edit or create environment variables.
rundll32 sysdm.cpl,EditEnvironmentVariables/Pasted-image-20231110212250.png)
In this example I add path to terraform.exe