Will a game run if I install it on an external hard drive?

I have a digital copy of Black ops 4, and I usually play on gaming internet cafes, if I install the game on my external hard drive, will it run normally and properly on a PC?
5 answers 5