Mince the garlic.
Slice the onion thinly.
Cut the bacon into bite-sized pieces.
Heat olive oil in a pan and sauté the garlic and onion.
Add the bacon and cook until browned.
Add cheddar cheese and heavy cream, and melt over low heat.
Boil the pasta and drain.
Add the pasta to the cheese cream sauce and toss to coat.
Season with salt and pepper.