Space or up arrow to jump. Don't touch the cacti. This has 6 or 7 levels. Not too difficult.
I got the challenge from @pianodad and inspo from the google dino game