Caramelize the onions until nicely golden for about 20 minutes.
Add pasta, beef broth, water, and port wine on top of the onions.
Cook until the pasta is tender and the liquid is absorbed, about 10 minutes.
Top with Gruyère cheese and stir until melted.
