Do you have admin access on your computer?
You can check with:
I am working on some better instructions for macOS 12.3.1 and greater including M1.
But there are no pre-compiled afni binaries for the M1 (or upcoming M2) as of yet.
Soon! Pre-compiled apple silicon (M1 etc) will be faster, but with rosetta 2, it is not that much slower.
If you do have admin access and macOS 12.3.1 or greater, you can try these instructions:
(these may work on macOS 11 and 13, but they have not been tested on those versions)
(these are designed for a brand new system, so you may already have some things installed)
(this assumes you have installed the rosetta 2 system, as you have)
Copy + paste these separately:
/bin/bash -c "$(curl -fsSL [https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh](https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh))"
brew install python netpbm cmake
brew install --cask xquartz
curl -s -L -o R-3.6.3.nn.pkg "[https://cran.r-project.org/bin/macosx/el-capitan/base/R-3.6.3.nn.pkg](https://cran.r-project.org/bin/macosx/el-capitan/base/R-3.6.3.nn.pkg)"
sudo installer -pkg R-3.6.3.nn.pkg -target /
curl -s -L -o gfortran-6.1.pkg "[https://cloud.r-project.org/bin/macosx/tools/gfortran-6.1.pkg](https://cloud.r-project.org/bin/macosx/tools/gfortran-6.1.pkg)"
sudo installer -pkg gfortran-6.1.pkg -target /
echo 'export PATH=$PATH:/usr/local/opt/python/libexec/bin' >> ~/.zshrc
echo 'export PATH=$PATH:/Library/Frameworks/R.framework/Resources' >> ~/.zshrc
echo 'export PATH=$PATH:/usr/local/gfortran/bin' >> ~/.zshrc
Rscript -e "install.packages(c('afex','phia','snow','nlme','lmerTest'),repos='[https://cloud.r-project.org](https://cloud.r-project.org)')"
curl -O https://email@example.com
tcsh @update.afni.binaries -package macos_10.12_local -do_extras