Searching Google for these exact two phrases return roughly the same number of results, so I'm stuck
Welcome to the forum, amiram.
Forget the second of those alternatives — it's not idiomatic.
It's also an improvement to omit 'how':
'Train yourself to ride a unicycle while juggling three skittles'.