When should I install the UK eSIM?

Install it before you travel, while on Wi-Fi. Validity starts when the eSIM first connects to a network, not when you install it.