ANACONDA - I have to type export PATH=~/anaconda3/bin:“$PATH” everytime I rerun the terminal [duplicate]
Solution 1:
the file .bashrc (hidden file), located in the home directory, runs codes every time a new terminal is opened.
Then add a line on it:
export PATH=~/anaconda3/bin:$PATH
Solution 2:
Wouldn't it be nice if somebody else would handle that for you? ;-)
Edit your .profile
and add something like the following lines:
if [ -d "$HOME/anaconda3/bin" ] ; then
PATH="$HOME/anaconda3/bin:$PATH"
fi