In a glass, add the lime wedges and sprinkle the sugar on top. You can adjust the amount of sugar to your taste, but usually 1 to 2 tablespoons should do.
With a muddler or the back of a spoon, muddle the sugar and lime together.
Add 2 ounces of cachaça to the glass. Fill the glass with ice and stir your cocktail until it's well mixed.