Safari (and Firefox) does not have https://developer.mozilla.org/en-US/docs/Web/API/BeforeInsta... So you can’t have a custom button/way to prompt players to install.
However, they can install a PWA manually, by themselves; there is the option somewhere in their browser menu.