Re: how to install sims 4 onto usb flash drive?
It is possible to do that, have a look at this page:
http://gaming.stackexchange.com/questions/127822/is-it-possible-to-install-games-to-different-hard-drives
But I don't think an USB flashdrive is fast enought to play the game, but you can certainly try it.
I would suggest getting an external hard drive for your computer.
(I myself use an external hard drive, which works perfectly. Origin usually thinks it needs to reinstall, but finds the game while doing so)