A compressed air cleaning gun can remove dust from the cassette, chain, and crankset for routine riding maintenance.
If you ride on gravel, muddy, and weedy trails for a long period of time, you will need to use a water hose to clean your drivetrain on a regular basis to avoid dirt and grime from damaging cogs and chains. We advise not to use a pressure washer for this type of task, as it could damage the bearings in the bottom bracket (for the crankset) and the rear hub. A regular water hose will fork fine.
After cleaning and drying these parts with a rag, chain included, applying a thin film of specific bike-chain oil on the inside of the chain (and wiping off the excess) will effectively protect your drivetrain and reduce wear and tear.