I am trying to install the CLI and when it is time to add exercism to the $PATH variable with this line of code echo 'export PATH=~/bin:$PATH' >> ~/.bash_profile
on the terminal it says “zsh: permission denied: /Users/ /.bash_profile”
echo $HOME
That is likely the directory, not /Users/
where that file would exist.
The permission is denied since the file does not exist.
It sounds like you’re using zsh
but trying to edit a bash
config file.
Thanks for pointing that out, sometimes the simplest solutions are the easiest to overlook :D
I got it to work in the end but I do appreciate the effort it took for you to help