According to the information presented in your question, your $PATH
variable is set like this:
~ >>> echo $PATH ~/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
Not too sure where you are setting your $PATH
variable but I believe using the ~/
is not going to work in $PATH
variable context; I don’t believe ~/
will properly expand to /Users/jon/
. So I would recommend adjusting that:
~/.local/bin
So it is explicitly pointing to your home directory instead:
/Users/jon/.local/bin
Another great idea/suggestion based on Gordon Davisson’s comment is that somehow you are setting ~/.local/bin
with double quotes around it. Something like this:
PATH="~/.local/bin:$PATH"
That ~/
placed within the double quotes will never get expanded to the full home path in that context. So instead try placing it outside of the quotes like this:
PATH=~/.local/bin:"$PATH"
Or perhaps even do something different and just use the $HOME
variable within double quotes like this:
PATH="$HOME/.local/bin:$PATH"
Then again, this is all based on how your actual $PATH
variable specifics are handled in your user’s shell config. So adjust and tweak based on your specific needs.