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 /usr
in ~/.local
. For example:
~/.local/bin
~/.local/lib
~/.local/share
For example, pip install --user
links binaries under ~/.local/bin
[1], as does Haskell Stack [2] and recent releases of Ubuntu have ~/.local/bin
in PATH
by default [3].
I find ~/bin
better aesthetically than ~/.local/bin
but since the latter is becoming a standard, I would just go with it.
Edited by Lassi Kortela