on OpenBSD, specifically

Commands cheatsheet

sysupgrade -n
not to be confused with syspatch, upgrade release/snapshot. the -n prevents it from automatically rebooting.
pkg_info -Q namequery
searches the first matching repo for packages names matching namequery