Set environment variable path

February 26, 2015 3.3k views

I have installed pip on my Ubuntu 14 server. I have created a file how can i run this file globally by setting environment variable.

1 Answer

You can add the folder this file is in to your path by adding the following line to the .bashrc or .profile file in your home directory:

export PATH=$PATH:/path/to/your/file
Have another answer? Share your knowledge.