linux - Export of PATH not permanent -


i'm using command export path use packages installed globally.

export path=~/.composer/vendor/bin:$path

the problem whenever restart machine, still need export again.

is there way make export permanent?

yes, many times that's problem doing export path.

you should append environment variable directly .bash_profile file! permanent , solve purpose,thereby, making package used globally without further problem package's path.

append following end of .bash_profile file,and replace ~ actual path,i.e., /home/user_name :-

path=/home/user_name/.composer/vendor/bin:$path export path 

Comments

Popular posts from this blog

python - Installing PyDev in eclipse is failed -

PHP OOP-based login system -

c# - Nested Internal Class with Readonly Hashtable throws Null ref exception.. on assignment -