Installing Vim script locally

Learn how to install Vim script locally to solve Exercism's exercises on your own machine


You need Vim to do the exercises:

macOS

The OS ships with Vim by default, but it's a hopelessly outdated version.

Chances are you're either using MacPorts or Homebrew to install software.

Homebrew:

$ brew update
$ brew install vim

MacPorts:

$ sudo port install vim +huge

If you want a GUI, have a look at MacVim instead.

Ubuntu / Debian

Install a full-fledged Vim with GUI support (gvim):

$ sudo apt-get update
$ sudo apt-get install vim-gtk

Windows

Using Chocolatey:

C:\> choco install vim

Or download and install directly from here.

Source

If you want to compile the latest Vim yourself, check out the official repository on GitHub.