This is excellent! I have some questions for you.
Q 1.Do the $ mkdir ~/.local/bin-command make a folder/directory called "bin" inside the .local folder/dir inside the "home" folder/dir? And if that's what it does; any specific reason(s) for why u suggest to do this as the first step?
Q 2.What exactly is it the $ echo "/home/$USER/icecat/icecat > ~/.local/bin/icecat-command does?
:)