This tutorial shows how to configure PATH environment variables. Though title said for Ubuntu 24.04, it works in most Linux systems.
PATH specifies the directories in which the executable files of programs are located on the system. Without knowing or typing the full path to the file, just type the app name in the command line, then your system will look into the path directories and run the first that matches.
For example, type firefox
in command line will run /usr/bin/firefox
to launch Firefox web browser in Ubuntu, Fedora, and other Linux that use the browser as default.