You are currently viewing How to add an environment variable on Windows? – check how it’s easy is in 2 minutes!
Could You Please Share This Post? I Appreciate It And Thank YOU! :) Have A Nice Day!
4.8
(387)

To add an env variable, start the Start Menu and depending on whether you have set the PL or ENG language [ How to add an environment variable on Windows ] in Windows enter the appropriate phrase: “edit the system …”

In this post I will show you step by step how to change the environment variable on Windows 10 or Windows 11. Basically it doesn’t matter which version you have, the approach is similar.

Add Environment Variable Windows 10

In the next window, click on the Environment variables button.

How to add an environment variable on Windows? - check how it's easy is in 2 minutes!
Env Variables Windows

We will open a window with environmental variables. The red frame is marked by variables that are defined as the active user, and below in the green frame there are global variables, i.e. those that are visible and active for all users.

How to add an environment variable on Windows? - check how it's easy is in 2 minutes!

We click “New” and a window will appear, where we will enter the name of the new env variable and its value. I created a variable named HADOOP_HOME.

How to add an environment variable on Windows? - check how it's easy is in 2 minutes!

Click OK and our env variable is already visible in the list.

How to add an environment variable on Windows? - check how it's easy is in 2 minutes!

Summary

In some cases it will be required to restart the program so that the env variable is read again. It all depends on the logic of the target software for which the given env variable was created. That’s all about How to add an environment variable on Windows!

Could You Please Share This Post? 
I appreciate It And Thank YOU! :)
Have A Nice Day!

BigData-ETL: image 7YOU MIGHT ALSO LIKE

How useful was this post?

Click on a star to rate it!

Average rating 4.8 / 5. Vote count: 387

No votes so far! Be the first to rate this post.

As you found this post useful...

Follow us on social media!

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?