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

You are currently viewing How to add an environment variable on Windows? – check how it’s easy is in 2 minutes!
Share This Post, Help Others, And Earn My Heartfelt Appreciation! :)
4.8
(385)

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:

Environment Variable

How to add an environment variable on Windows? - check how it's easy is in 2 minutes!
Environment Variables 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!

If you enjoyed this post please add the comment below and share this post on your Facebook, Twitter, LinkedIn or another social media webpage.
Thanks in advanced!

How useful was this post?

Click on a star to rate it!

Average rating 4.8 / 5. Vote count: 385

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

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments