The quickest way is to add the Newpipe repo: https://newpipe.net/FAQ/tutorials/install-add-fdroid-repo/
If you already installed Newpipe from the f-droid main repo, you may need to backup your data, uninstall and reinstall it. https://github.com/TeamNewPipe/NewPipe?tab=readme-ov-file#installation-and-updates
Most admins will type
sudoe<tab>
, which is shorter