Steven
June 20, 2023, 5:17pm
8
Did you follow the video guide? https://surfer.nmr.mgh.harvard.edu/fswiki/DownloadAndInstall?action=AttachFile&do=view&target=installFS_demo.mp4
If that doesn’t work, I’d recommend you just email the FreeSurfer tech support mailing list: FreeSurferSupport - Free Surfer Wiki
Parham_Zargar:
export FREESURFER_HOME=/Applications/freesurfer/7.4.1
export SUBJECTS_DIR=$FREESURFER_HOME/subjects
source $FREESURFER_HOME/SetUpFreeSurfer.sh
and I could run the program perfectly. But every time I close the program (or terminate terminal) and try to reopen it, I cannot use freeview command (zsh: command not found: freeview) unless I use that code and make a directory again. Is there any solution for this or I should execute that code every time I want to open the program?
You can just add these lines to your appropriate profile/RC file, and they will be automatically re-executed upon opening terminal. I believe Macs are all using .zprofile these days.
Best,
Steven