In order for any executable to run anywhere in terminal, we need to set the $PATH to the directory.
You can check which directory can be globally accessed by typing this command
- To add that path to the file, login as root
- Type nano /etc/paths
- Edit the file to add another path
- Save and exit
- You need to restart the terminal in order for change to take effect