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

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -