Going through this tutorial, I had to execute the command export PATH=~/.local/bin:$PATH
It explained with
This command inserts the path, ~/.local/bin in this example, at the front of the existing PATH variable.
However, I still don't understand what exactly is happening there. What is the goal/effect of that command?