App install to all sites

I’m trying to make new app for a custom module. But I see that the install can only be to one site at a time.
Is there anyway to install the app to all existing sites ( I use multi tenants/sites ERPNext)?
Thank you

Have you tried

$ bench --site all install-app myapp

where myapp is your app?

4 Likes

Yes it works.
Thank you.