status: #doc Tags: #shell links:[[shell]] Date: 2023-07-10 ___ # make path ## add dir to path golobaly in **/etc/profile** add this: ```sh export PATH=$PATH:/usr/local/bin ``` in here the dir that we want to make path is `/usr/local/bin` we can add to it with ` : ` like this ```sh export PATH=$PATH:/usr/local/bin:/usr/sbin ``` ## add dir to path localy like [[#add dir to path golobaly|above]] but in **~/.zshrc** or **~/.bashrc** add --- # References