Skip to content

Instantly share code, notes, and snippets.

@math2001
Created June 24, 2017 06:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save math2001/f385f78b925eaba889560269b4126e15 to your computer and use it in GitHub Desktop.
Save math2001/f385f78b925eaba889560269b4126e15 to your computer and use it in GitHub Desktop.
How do I add a path to your PATH environment variable on Windows?

How do I add a path to your PATH environment variable on Windows?

  1. Open the Control Panel.
  2. Go to System and Security.
  3. Go to System.
  4. On the left, click on Advanced system settings (you need to have administrator privileges to do so)
  5. Click on Environment Variables
  6. Click on Path in the top box
  7. Click Edit

Now, on Windows 10, they added a cool "editor" for this variable. You just need to click New and write in the path you wanted to add.

On previous version though, you have to make sure all your path are seperated by a ;. So, you might need to add one.

After this, just click OK for each windows.

That's it! You've successfully added your path to the PATH environment variable!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment