The command name is port (singular). Almost everything that mutates the system needs sudo — that's the price of MacPorts' isolation model.
sudo port install <name> installs a port. Add +variant tokens after the name to enable build options, or -variant to disable defaults. port search <query> finds ports; add --description to search descriptions, not just names. port info <name> shows version, dependencies, available variants, and homepage.
sudo port selfupdate refreshes the port tree. sudo port upgrade outdated upgrades every outdated port — there's no Homebrew-style separation between "refresh definitions" and "install upgrades"; the order is selfupdate, then upgrade.
port installed shows everything you've installed. port installed active filters to only the active versions (MacPorts can keep multiple versions installed but only one active). sudo port uninstall inactive cleans up stale inactive versions. sudo port reclaim is the catch-all garbage collection — it removes orphaned dependencies, old source tarballs, and build directories.