In Linux we have /home/<user>/bin to put special binaries that only that user will execute, and also, the user doesn't need root permissions to put them there.
Do we have any similar thing OS X?
We have /usr/bin, but as a regular user we need root permissions to place a file there, and I'm not looking for a folder like that.
.bash_profileis used instead of.bashrc. See https://apple.stackexchange.com/questions/51036/what-is-the-difference-between-bash-profile-and-bashrc — also, macOS usespath_helperon top of what you can configure in your shell. Seeman path_helper. – slhck Mar 29 '22 at 11:48