Generally, you do not need to restart your computer. However, you may need to restart your Command Prompt or PowerShell window to recognize the new environment variables.