Below I describe how to setup my Mac (what I do when I setup a new Macintosh).
After backing up the data using TimeMachine or alike, initialize the data by starting with the safe boot mode (press command+r when startup your Mac), we initialize Mac, and reinstall OS (and then update).
Login to My Handai site (https://my.osaka-u.ac.jp) using your Osaka University ID, find "Other service" and "Microsoft software.
Download Office 2019 for Mac and install.
NOTE: "My Handai" is available only in Japanese, and please ask your colleagues who understand Japanese. Note also the short-term students are NOT allowed to download and install MS softwares provided through "my handai" site. Please ask your supervisor to install on behalf.
Install from AppleStore (may take an hour or so).
Use Homebrew to install commands necessary for the research. Follow the description in the Homebrew webpage and execute the following on your terminal as:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
(check the command in the original webpage)
After finishing Homebrew, install the following commands (at least) as:
$ brew cask install xquartz
$ brew install gcc
$ brew install open-mpi
$ brew install gnuplot
$ brew install grace
$ brew cask install texworks
$ brew search python3and follow the instruction.