What is the de-facto way to export a binary/executable to my global PATH? I have seen different answers to this, but I am looking for the best answer.
Basically, if I go on Github and download a directory or folder and then I want to add whatever I download to my PATH, what is the recommended way to do that, so that I can echo it in any shell?