In the Mac App Store window, click:
1. Get→2. Install→3. Open.
Note: Grammarly for Safari won’t work until you open the app.
Safari will stop supporting your version of Grammarly soon. It now only accepts the version in the Mac App Store. You'll have to re-download Grammarly from there to continue using it.