Get a MacOS or Linux shell, for free, in around 2 minutes

I don’t have a Mac, but I often want to test my software on a Mac, or build software for folks using Macs. Rather than shelling out thousands of dollars to buy a Mac, it turns out we can use GitHub Actions to give us access to one for free! fastmac makes this process as simple as possible. Note that this only gives us access to a terminal shell, not a full GUI.

Description above is from fastmac repo, and also:

fastmac is a very thin wrapper around tmate, so all the features of tmate are available. tmate itself is based on tmux, so you have all that functionality too. In practice, that means other people can connect to the same ssh session, and you’ll all be sharing the same screen! This can be very handy for debugging and support. The integration with Github Actions is provided by action-tmate.

This post will show you how to setup fastmac.

Instead of reading this post, you can also follow the guide fastmac creator provides.

Steps

Fastmac uses GitHub Actions, so you need to get a GitHub account first. Continue reading “fastmac – get a free MacOS/Linux shell in two minutes”