Install the Latest Vim on a Mac with Homebrew

Michael Chan
InstructorMichael Chan
Share this video with your friends

Social Share Links

Send Tweet
Published 4 years ago
Updated 3 years ago

The version of Vim that comes with your operating system is out of date. You can find download instructions at vim.org for all platforms. However, the easiest way to get the latest Vim on a mac is with Homebrew…

Michael Chan: [00:00] If you have Vim installed, type Vim and Enter to launch it. The version that you're using will be shown on the launch screen. What came with your operating system is probably out of date. As of today's recording, 8.2 is the latest minor, so I'm behind. Let's exit Vim by typing :q Enter. Visit vim.org to get download instructions for our platform.

[00:26] On my Mac, I prefer to use Homebrew to download and install this type of software. It allows me to run a command like brew install vim. I'll head back to my terminal. With brew installed, I'll run brew update and brew install vim. This might take several minutes if this is your first time running this install. I had it run previously, so it'll be really quick.

[00:49] Now that installation is complete, we can type Vim Enter again and should see that the version has changed to the latest available. If you don't see a difference here, try opening a new terminal window and typing Vim Enter again to launch. You might just need a fresh instance of a terminal to pick up the new version.

[01:06] That's it. That's how you install the latest version of Vim on a Mac with Homebrew.

egghead
egghead
~ 23 minutes ago

Member comments are a way for members to communicate, interact, and ask questions about a lesson.

The instructor or someone from the community might respond to your question Here are a few basic guidelines to commenting on egghead.io

Be on-Topic

Comments are for discussing a lesson. If you're having a general issue with the website functionality, please contact us at support@egghead.io.

Avoid meta-discussion

  • This was great!
  • This was horrible!
  • I didn't like this because it didn't match my skill level.
  • +1 It will likely be deleted as spam.

Code Problems?

Should be accompanied by code! Codesandbox or Stackblitz provide a way to share code and discuss it in context

Details and Context

Vague question? Vague answer. Any details and context you can provide will lure more interesting answers!

Markdown supported.
Become a member to join the discussionEnroll Today