Nginx is part of default repositories so it can be installed using simply by using apt command.
if this is your first interaction you would want to update apt first for updating local packages
sudo apt update sudo apt install nginx
All required dependencies will be installed after accepting the procedure.
Expecting more steps ? well! you are all set with nginx install.