The -y flag in the apt install command automatically answers "yes" to any prompts during the installation process. This allows the installation to proceed without requiring user confirmation for each step, making it more convenient for automated scripts or when you are sure about the installation.
