How to Uninstall Vim on Mac?

Note: This example assumes that you have installed Vim editor on your Mac using homebrew.

The first thing you can do is find out where vim has been installed using the which command.

% which vim

If you find that Vim is installed under the homebrew directory, then all you need to do is run the command.

% brew unistall vim

Uninstalling /opt/homebrew/Cellar/vim/9.0.1450... (2,146 files, 38.4MB)

Uninstall vim on Mac Command

Have Questions? Post them here!