Compile and Upload addons from Mac

So I recently got a Macbook Pro and need to compile my addon from said Mac.

Previously I used the GMPU tool to do this, but I can’t seem to get it to work with my mac, and likewise can’t figure out the terminal option either.

Could someone walk me through the process of compiling a folder and then uploading it on a Mac?