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. In the search box on the task bar, type env’ then tap on Edit the system environment variable to open it

The image below portrays how you will do it;

  • Step 2. Scroll down on the Advanced section, then tap 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 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 back to your Downloads Folder on File Explorer, then trace and copy the path of the file you want to edit its path

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, 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. On the next window, tap on New to add the variable to the PATH

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 the all remaining windows by clicking OK, also close CMD, then open it again and try to call flutter. Check image below;

To call flutter, open command prompt then just type;

flutter

The output;

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.

Other Posts;

LEAVE A REPLY

Please enter your comment!
Please enter your name here