Tutorial for setting up monogame on m1/m2/apple silicon

It took me a couple hours to get the tutorial running on my m2, so I thought id share the steps how. Hopefully we can add this to the official documentation.

I’m also using jetbrains rider as my IDE

Download the installers for the arm and x64 version of the .NET sdk

The mgcb content editor doesn’t work without using the x64 version

at the end of your .zshrc or bash or whatever your using set this

export PATH="/usr/local/share/dotnet/x64:$PATH"

You’ll also run into a free image error to solve that you need to install homebrew and then run

brew install freeimage

and then link it

sudo ln -s /opt/homebrew/Cellar/freeimage/3.18.0/lib/libfreeimage.dylib /usr/local/lib/libfreeimage

1 Like