OSX is aUnix system (simiilar to Linux).
The following instructions apply to ARM based Macs.
port installÂ
netcdf
brew install
cmake
llvm
ncview
python@3.13
install xquartz https://www.xquartz.org. (this is for ncview)