You can use chalk, lemon, oranges and even vinegar or peppermint oil to get rid of ants.
Bakers yeast also works to kill ants as it swells their insides and kills them.
Wiping ants with a solution of equal parts of vinegar and water or only vinegar may work the best.
Spray the mixture of a cup of water, a cup of vinegar, and tea tree oil (5-10 drops) on ants.
White vinegar kills and repels the ants.
Apple cider vinegar and water solution spray can also help.