@stslavik's answer hit it on the money, but I wanted to give my two cents, alongside his.
I know you didn't use these words, but basically, there's no real "anti-grappling" that isn't, truthfully, just grappling. I have a couple things that I'd like to recommend if you want to avoid being put in a grappling situation, though:
1) As @stslavik said, avoid getting in the confrontation in the first place. This is something we all should do, anyway. While we train how to fight, it doesn't give us a right to go out and pick them. On the contrary, we should be acting as peacekeepers. In the ring is another story, of course, though.
2) Assuming the fight is unavoidable, then make sure your trained technique is solid. Mistakes easily lead to off-balancing, which easily lead to being thrown/pushed over/tripped, and once you're on the ground, unless there's distance, you will likely be mounted and find yourself in a grappling situation. This should be something that, unless you're learning how to fight from the ground, all styles should teach. This doesn't mean "do this to counter a shoot", but how to stand, move, parry, and strike without providing an opening (or giving as small of one as possible) or losing your balance. It also means knowing how to control the distance with your opponent (especially emphasized in TKD, for instance).
This will probably be effective enough for most people. Unless you plan on fighting in the ring against people who you know will be very proficient and experienced in grappling their opponents, you will more than likely find yourself fighting more unskilled opponents. In these situations, it's most likely that lack of technique, not superior technique, will be the cause of a grappling situation. From what I can tell, an unskilled fighter will quickly default to sloppy wrestling and pushing when their strikes become ineffective (which is also likely). Even among seasoned fighters, if they are primarily strikers, they will still start to do basic grappling as they get tired or if their technique is otherwise sloppy (see the clinch, often featured in professional Boxing matches).
3) If you feel that your current training isn't adequate for controlling the distance, or you believe that it may be inevitable that you will end up on the ground (maybe you're worried about facing against a Judo or BJJ practitioner), you will have to learn how to grapple. This means finding a wrestling, judo, jujutsu, or some other school that has a grappling curriculum and training in it. This, however, is something that I would only recommend for those who are comfortable with their current style and have enough experience in it that the new training wouldn't confuse them.
Basically, there's no real sure-fire way to avoid a grappling situation without actually grappling. Outside of close range, whether someone is closing towards you with intent to grapple or strike doesn't create a lot of difference in how they come at you. Their limbs must still enter your space, which means you can still control distance or parry their incoming attacks as you would a striker. This is why I say to make sure your current training is solid. If a grappler can get inside and take you down, you probably would have also gotten hit by a striker in a similar situation. But once they actually start grappling you, you will not be able to counter without some knowledge and training in grappling techniques, yourself.