当前位置:网站首页>Add environment path

Add environment path

2022-06-11 13:03:00 Trifolium Trifolium

1. Command line add

export PATH=‘your path’:$PATH

This method is only available at present session take effect , Restart or at other session It's useless.

2. write in .bashrc file

If you want to remain valid after restarting , open ~/.bashrc

vim ~/.bashrc

Add a path

export PATH=‘your path’:$PATH

Activate

source ~/.bashrc
原网站

版权声明
本文为[Trifolium Trifolium]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/162/202206111246134619.html