ANACONDA - I have to type export PATH=~/anaconda3/bin:“$PATH” everytime I rerun the terminal

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

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

Start with:

sudo nano ~/.bashrc

go down to the last line in the file and add

export PATH=~/anaconda3/bin:$PATH

then Ctrl+X and then enter

open a new terminal and enjoy anaconda--navigator