Hi Justin,
Thanks! Very helpful. Yes, I do have admin access on my computer based on System Preferences.
All of the commands work great until the 5th code block. I ran everything in the Rosetta terminal. I'm not sure if this should be using zsh, which is the default on this new Mac, or bash. I have put the output below for both:
zsh output:
(base) mollywilkinson@Mollys-MacBook-Pro ~ % touch ~/.zshrc
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
source ~/.zshrc
touch: /Users/mollywilkinson/.zshrc: Permission denied
zsh: permission denied: /Users/mollywilkinson/.zshrc
zsh: permission denied: /Users/mollywilkinson/.zshrc
zsh: permission denied: /Users/mollywilkinson/.zshrc
bash output:
bash-3.2$ touch ~/.zshrc
touch: /Users/mollywilkinson/.zshrc: Permission denied
bash-3.2$ echo 'export PATH=$PATH:/usr/local/opt/python/libexec/bin' >> ~/.zshrc
bash: /Users/mollywilkinson/.zshrc: Permission denied
bash-3.2$ echo 'export PATH=$PATH:/Library/Frameworks/R.framework/Resources' >> ~/.zshrc
bash: /Users/mollywilkinson/.zshrc: Permission denied
bash-3.2$ echo 'export PATH=$PATH:/usr/local/gfortran/bin' >> ~/.zshrc
bash: /Users/mollywilkinson/.zshrc: Permission denied
bash-3.2$ source ~/.zshrc