To install adbUnityProfiler, run the command in Console on MacOS
mkdir -p temp_script && cd temp_script && curl -L -o setupScript.sh https://github.com/simitka/adbUnityProfiler/raw/main/setupScript.sh && chmod +x setupScript.sh && ./setupScript.sh
After installation, the command to run the tool is: adbreadprofile
(it can be run via the Console app or Android Studio)