Install a package without prompting

pacman --upgrade

sudo pacman --upgrade --noconfirm {{path/to/package.pkg.tar.zst}}

click the source code to copy install pacman --upgrade on any operating system with command-not-found.com