If you are certain you want to remove all that data, you can combine all the options into one operation: sudo rpm-ostree cleanup -bprm
And in case you want to know what each flag does, the help is pretty good:
-b, --base Clear temporary files; will leave deployments unchanged
-p, --pending Remove pending deployment
-r, --rollback Remove rollback deployment
-m, --repomd Delete cached rpm repo metadata
A pending deployment is one that you will reboot into next, i.e. an upgraded deployment.
A rollback deployment is one that you would use rpm-ostree rollback to select for next boot.