I've uninstalled software from brew (as I want to use a different version), using MacOS High Sierra 10.13.1

```
brew uninstall bowtie2

```

And downloaded the software from SourceForge instead, then copied the executables onto the $PATH

```
which bowtie2

> /usr/local/bin/bowtie2

```

However when I try to run the command

```
bowtie2

```

I get the error

```
> -bash: /usr/local/Homebrew/bin/bowtie2: No such file or directory

```

So it's still searching for the old path in the Homebrew folder. How do I change this?