5

Questions about setting environment variables and/or the PATH are very common, I guess, and in most cases the answers are the same.

There is a CW answer on how to set the PATH on Windows, but as far as I've seen there's none for any Unix/Linux or even OS X.

So should we have a Community Q/A for this topic, possibly covering all major operating systems?

I've never done that here, still a bit new to the whole system, so I'm waiting for any input. (Or should I just go ahead and ask with the tag?)


Just a few questions/answers on that topic I found:

| |
  • 2
    I'd say go ahead @slhck ;-) Also note that you can write a blog post about it, so you can point to that as a future reference – Ivo Flipse May 16 '11 at 17:37
1

Okay, I started the question. Looking forward to good answers :)

How do I set PATH and other environment variables?

Questions about

  • setting environment variables
  • the PATH

are very common here, and in most cases the answers are very similar to each other. In the future it would be nice to have a good Q/A for this.

So the question is: How do I set the executable PATH and other environment variables on major operating systems?

A good answer would include a simple explanation of what environment variables and especially PATH mean to the OS, as well as simple guidelines on how to set them accordingly.

| |

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .