Combine the tequila, lime juice, agave nectar and orange liqueur in a cocktail shaker or, if making a larger batch, a pitcher. Rub a lime wedge around the rim of a margarita glass then dip in salt. Fill the glass with crushed ice and pour the margarita mix over it.