May you have not set ENV path in windows
Please go to
Windows Serach → ENV
Open Environment Variables →
Open Environment Variables → set inside path