> ## Content Index
> Fetch the complete content index at: https://ashwiniag.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Make binaries executable from anywhere
- URL: https://ashwiniag.com/make-binaries-executable-from-anywhere/
- Published: 2021-10-21T00:00:00.000Z
- Updated: 2024-10-13T14:20:25.000Z
- Author: Ashwini Gaddagi

Generally I like to maintain binaries. It could be downloaded or custom etc.

Here is what I do

- Actions

```
mkdir ~/my_bin
echo "export PATH=\$PATH:~/my_bin" >> ~/.bashrc
source ~/.bashrc

```

Note: It last till the terminal session when you execute "export PATH=$PATH:</path/to/file>" at the command line.

To tell terminal to remember it everytime you start, add the same lines in the file \~/.bashrc or \~/.zshrc