How do App install webhook in remix Shopify CLI appHow to run a function when an app has been installed?

Shopify provides an uninstall webhook. But I would like to run a function on install instead. I have read the documentation and it does not seem like there is a hook for this event.

Does anyone know how to run a function when an app has been installed?