# update path only for the current session
set PATH=%PATH%;C:yourpathhere
# update the path permanently
setx /M PATH "%PATH%;C:yourpathhere"
Go here
https://www.architectryan.com/2018/03/17/add-to-the-path-on-windows-10/
// Windows
Settings > System > About > Advanced system settings
Environment variables