add the below to ~/.vimrc
:
Plugin 'https://github.com/brookhong/DBGPavim.git'
just use clang-format for an example:
sudo update-alternatives --install /usr/local/bin/clang-format clang-format /usr/local/Cellar/clang-format@5/5.0.2/bin/clang-format 99
sudo update-alternatives --install /usr/local/bin/clang-format clang-format /usr/local/Cellar/clang-format/14.0.3/bin/clang-format 100