Post installation: set environment variables PATH and ANTSPATH Error in ANTs installation

Hi everyone,

I have been trying to install ANTs (Advanced Neuroimaging Tools), however the post installation set environment variables is not working. I have gotten 100% build, and installation.
I have followed the instructions on this website https://github.com/ANTsX/ANTs/wiki/Compiling-ANTs-on-Linux-and-Mac-OS
However, when I include
export ANTSPATH=/opt/ANTs/bin/
export PATH=${ANTSPATH}:$PATH
It is not setting any paths, which results in the commands not working. Essentially ANTs has been installed, but when I try setting my paths it will not registered the paths, even after I have checked the file paths. If anyone has any idea why this might be a problem?
Your help would be much appreciated.

Thanks,
Natasha

MANAGED BY INCF