How to install neovim on ubuntu homebrew environment

So, you want to install Neovim on Ubuntu? First of all, don't forget install vim-plug (or rise neovim Unknown function: plug#begin #245 ) Here is my ~/.config/nvim/init.vim following Awesome Neovim Setup From Scratch - Full Guide , it uses Plug as plugin manager: so, run nvim init.vim and :PlugInstall in command line. You are fine if see something like this: Fixed :PlugInstall command unknown Otherwise run :checkhealth to figure out what went bad. Fixing :PlugInstall unknown command . let g:python3_host_prog='/home/linuxbrew/.linuxbrew/bin/python3' let g:ruby_host_prog='/home/linuxbrew/.linuxbrew/opt/ruby/bin/neovim-ruby-host' let g:loaded_node_provider=0 set number set relativenumber set autoindent set tabstop=4 set shiftwidth=4 set smarttab set softtabstop=4 set mouse=a set encoding=UTF-8 call plug#begin() " Plug 'http://github.com/tpope/vim-surround' " Surrounding ysw) Plug 'https://github.com/preservim/nerdtree' " NerdTree Plug ...