If you haven’t already, install the CLI as documented here.

Initiate the tunnel

You can open a tunnel between your deployments and local machine via hop fwd - then select the local & remote ports to open.
To tunnel your deployment without host entries
hop fwd [deployment_name]
To add <name>.hop to your hosts file, sudo the tunnel in addition to providing the --hosts flag.
sudo hop fwd [deployment_name] --hosts