How to install vim8 without effecting the built-in vim

vi

How can install vim8 without effecting the built-in vim that comes with a mac? Like with python2 that comes built-in with a mac, I have python3 separate. So, I can call it with vim8. I am using brew.

My OSX is 10.11.6.

Best Answer

Homebrew will not overwrite any Apple supplied executables. It installs everything in /usr/local which is empty by default.

I think Homebrew will install vin to /usr/local/vim

However if you installed python3 from python.org then that will conflict with Homebrew python as they are both installed in /usr/local