Bram Moolenaar | 9805653 | 2019-12-12 14:18:35 +0100 | [diff] [blame^] | 1 | README_mac.txt for version 8.2 of Vim: Vi IMproved. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 2 | |
| 3 | This file explains the installation of Vim on Macintosh systems. |
| 4 | See "README.txt" for general information about Vim. |
| 5 | |
| 6 | |
Bram Moolenaar | d079690 | 2016-09-16 20:02:31 +0200 | [diff] [blame] | 7 | To build from sources, like on Unix |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 8 | |
Bram Moolenaar | d079690 | 2016-09-16 20:02:31 +0200 | [diff] [blame] | 9 | 1. Get the build tools: "clang" and "make". These can be installed with the |
| 10 | "CommandLineTools" package. If you don't have one, do |
| 11 | xcode-select --install |
| 12 | Just like for any software development with OS X. |
| 13 | |
| 14 | 2. Get the source code. Best is to use git (which you need to install first), |
| 15 | see http://www.vim.org/git.php |
| 16 | Or you can download and unpack the Unix tar archive, see |
| 17 | http://www.vim.org/download.php |
| 18 | |
| 19 | 3. Go to the top directory of the source tree, do |
| 20 | make |
| 21 | sudo make install |
| 22 | A newly built vim will be installed under "/usr/local". |
| 23 | |
| 24 | |
| 25 | If you can't manage to make this work, there is a fallback using Homebrew: |
| 26 | |
| 27 | 1. Install Homebrew from http://brew.sh/ |
| 28 | 2. Install latest Vim with: brew install vim |