Use ~/.local/bin instead of ~/bin?
~/bin is a nice and simple location for personal binaries but I believe a somewhat standardized convention has now emerged to use
~/.local/bin instead. It's part of a wider scheme to store personal equivalents of the global directories under
~/.local. For example:
~/bin better aesthetically than
~/.local/bin but since the latter is becoming a standard, I would just go with it.