- Mastering Vim
- Ruslan Osipov
- 269字
- 2021-06-10 18:51:22
Using Homebrew
Homebrew is a third-party package manager for MacOS which makes it easy to install and keep packages up to date. Instructions on how to install Homebrew are available on https://brew.sh, and, as of the moment of writing this book, consist of a single line executed in the following Command line:
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
The following screenshot shows the list of operations you will then see Homebrew perform during installation:

Hit Enter to continue.
This should take a while to run, but you'll have Homebrew installed by the end: a fantastic tool you can use to install a lot more than Vim! You'll see Installation successful! in bold font once the installation is complete.
Let's install a new version of Vim now using the following command:
$ brew install vim
Homebrew will install all the necessary dependencies too, so you won't have to worry about a thing, as can be seen in the following screenshot:

If you already have Homebrew installed, and you have installed Vim in the past, the preceding command will produce an error. You may want to make sure you have the last version of Vim, though, so run the following command:
$ brew upgrade vim
You should now be ready to enjoy Vim; let's try opening it with the following command:
$ vim
Welcome to Vim:

- MySQL數(shù)據(jù)庫管理實戰(zhàn)
- 密碼學原理與Java實現(xiàn)
- LabVIEW程序設計基礎與應用
- 微服務與事件驅(qū)動架構(gòu)
- 樂高機器人設計技巧:EV3結(jié)構(gòu)設計與編程指導
- PHP+MySQL網(wǎng)站開發(fā)項目式教程
- 小程序開發(fā)原理與實戰(zhàn)
- Spring+Spring MVC+MyBatis整合開發(fā)實戰(zhàn)
- ElasticSearch Cookbook(Second Edition)
- PowerDesigner 16 從入門到精通
- Python數(shù)據(jù)科學實踐指南
- ASP.NET Core and Angular 2
- Java EE輕量級解決方案:S2SH
- micro:bit軟件指南
- 軟件自動化測試實戰(zhàn)解析:基于Python3編程語言