Introduction
Sometimes your computer cannot find the programs you want to run because it does not know where to look. The PATH variable tells your system where to find these programs. Managing the PATH variable helps you run commands easily without typing full paths.
When you install a new program and want to run it from any folder without typing its full location
When you want to add a folder with your own scripts to run them quickly
When a command is not found because its folder is missing from PATH
When you want to check which folders your system searches for commands
When you want to temporarily add a folder to PATH for a single session