In Windows Via GUI Download Varpanel. Open Varpanel. In PATH variable, add the relevant path (for example). Via Command Line Refer to this answer on Super User.