Get a pot of well salted water boiling and depending on whether you are using fresh or dried pasta will dictate when you add the pasta to the water. The sauce only takes a few minutes to bring together so when using fresh pasta I add the pasta to the water when the butter is just starting to melt.
Melt your butter in a large skillet over medium - high heat and add the pepper.
Let it sizzle together for a minute then turn down the heat to low.
Add ½ cup pasta water and whisk vigorously to emulsify. I like to shake the pan with my left hand and whisk with my right to agitate it quite vigorously. It should be simmering very gently.
Keep agitating the pan and whisking until it thickens slightly 1 - 2 minutes.
Add your cooked pasta into the pan, toss with the liquid and let it bubble away gently for a minute or so.
Arrange the pasta into an even layer in the pan and then sprinkle the cheese over top in an even layer over top.
Leave it alone and let it melt gently on top for a minute or so, the heat should be nice and low so the pasta doesn't stick to the pan. Give the pan a shake if you are worried it is sticking.
Then with tongs toss the pasta over and over quite quickly until a silky sauce appears.
Add the onions in and give it a quick toss then serve immediately.