How to root galaxy s9+
Rooting will trip knox and void your warranty, before rooting read the pros &amp; cons of doing so, and then decide if it is worth it.

You can follow this guide

https://www.theandroidsoul.com/samsung-galaxy-s9-root/