PATH shows the specific directories where certain files can be accessed. It is very important to add PATH environment variable to the files that you cannot access especially on the Windows console. The process is simple to follow and this article will give you all the details you need to successfully add PATH environmental variables for your files on Windows 10.
Add PATH Environmental Variable in Windows
This is a step by step guide that will help you add PATH environment variable either on the user variable or system variable.
Step 1. Open taskbar search box and type ‘env’
When you type ‘env’, on your right, you will see edit environmental variable, tap on open.The image below portrays how you will do it;
Step 2. Tap Advanced, then click on Environment Variables
On the window that you see, scroll down and tap on environment variable, just like as shown below;
Step 3. Choose to Edit the PATH
Edit the PATH either on User or System Variables, the process is the same. For our case, we will use the user variable, first we locate the PATH, then tap on it to select and click on edit;
Step 4. Go to Downloads then trace and copy the PATH of the file
You need to go to your downloads folder, then locate and open the folder you just downloaded, for our case, (Flutter), open the subfolder where your file is, for our case bin. Once there, copy the path(ensure to copy the correct PATH), then paste it on the PATH user variable, just like as shown in the images below;
*downloads section, locate Flutter;
*double click the file folder to open;
*tap on bin, as this is the one with the file we need, then follow the procedure as shown on the image below to get the file path;
Copy the path above by right clicking on it and proceed to the next step.
Step 5. Tap on New to add the variable to the PATH
On the next window, tap on New to add the variable to PATH. The image below is how it looks;
Having the copied path from step 4, paste it on the shown area in step 5, then proceed to tap OK. Just like as shown;
Step 6. Close all windows by clicking OK, also close CMD
Once you have closed all windows including Command prompt, restart it again and try to call flutter. Check image below;To call flutter, open command prompt then just type;
C:\>flutter Checking Dart SDK version... Downloading Dart SDK from Flutter engine ... Building flutter tool... Running pub upgrade... Manage your Flutter app development.
The above output shows that Flutter has been successfully added to the environmental path variable. In the case where the
PATH environment variable does not exist, click
New, to create one.