- Download a release tar ball version that you want to download
- Determine an install location
- /usr/local/Cellar/vim/8.1.0390
- Run a configuration script
./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0390/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --with-compiledby=Homebrew --enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-gui=no --without-x --srcdir=. --cache-file=auto/config.cache
- Run ‘make‘
make install prefix=/usr/local/Cellar/vim/8.1.0390 STRIP=true
- Set VIMRUNTIME variable
export VIMRUNTIME=/usr/local/Cellar/vim/8.1.0390/share/vim/vim81
- Set PATH variable
export PATH=/usr/local/Cellar/vim/8.1.0390/bin:${PATH}