To run Publish, you need a Mac with macOS 10.13 (High Sierra) or later. Publish is only available on Mac.
You need an internet connection to sign in and to publish or update your posts. You can build a post offline, as long as your photos are on your computer or a connected drive.
Need to update macOS? See How do I safely update macOS for Publish?
