A user binary folder is a great place to put personal scripts and links to often-used commands.
First, create a folder in your home folder -- you can call it anything, but I prefer to call mine bin
:
mkdir ~/bin
Next, you'll need to add it to your PATH. Open (or create) the ~/.zshrc
file and add a line like this:
export PATH=~/bin:$PATH
Note that this setting won't immediately apply to any open Terminal windows -- close and restart them, or, reload your zshrc like this:
source ~/.zshrc
You now have a convenient ~/bin
folder where you can put shell scripts, soft links, and other tools you often use.