שוקל לנסות הורה עצמי ויש לי כמה שאלות

   ssh ipaddress

You would create the droplet and connect to it with ssh and then do those commands on the droplet, not on your Mac.