How to Enable the Web Install API
The experimental navigator.install() API enables one-click installation of PWAs directly from desktop Chrome or Edge.
Demo
- Make sure you're using the latest version of Edge or Chrome on your Mac or PC.
- Type
about://flagsin the URL bar and enable the Web App Installation API flag (#web-app-installation-api). - Open our demo installation page below.
- Click on Install in the top-right corner of the page. The PWA will install from the demo domain directly. With regular installation, the user would have to be redirected to the target domain first.
How it works
With this new API, PWAs can be installed by invoking navigator.install() in compatible browsers. The new Web Install API streamlines web app installation by eliminating the need to handle the beforeinstallprompt event, allowing PWAs to be installed remotely from any website, promoting a more decentralized web and enabling PWAs to be freely distributed.
Support
The Web Install API is still experimental. Currently, it is supported only in Edge and Chrome (Windows and macOS) with a specific flag enabled. Progressier is already fully compatible with this API, giving you a glimpse of the future of the web.
API
Code
Links & Documentation
Ready to generate your PWA?
Try our PWA toolkit free of charge and without limits for 14 days. No credit card required.
Generate PWA See plans