On Apple macOS Yosemite (or later), Snapcraft 3 can be installed via Homebrew and used to build snaps within the macOS environment.
Prerequisites:
- Make sure you have the Homebrew package manager installed
- Download and run the Multipass installer to install Multipass
To install snapcraft, open 'Terminal` and enter the following:
$ brew install snapcraft
When the process completes, the snapcraft command will be installed and ready to go. See Snapcraft overview for help getting started.