Skip to content

Instantly share code, notes, and snippets.

@rjkaes
Last active May 4, 2017 14:06
Show Gist options
  • Save rjkaes/fd4e23f025e4d4008c4f5213cf9e0cf1 to your computer and use it in GitHub Desktop.
Save rjkaes/fd4e23f025e4d4008c4f5213cf9e0cf1 to your computer and use it in GitHub Desktop.
Upgrading neovim from source or homebrew
function make-neovim () {
if [ $(uname) = "Darwin" ]; then
brew update
brew upgrade neovim/neovim/neovim --fetch-HEAD --cleanup
# brewup && TERM=screen brew install --HEAD neovim
# brewup && TERM=screen brew upgrade neovim
else
cd $HOME/src/neovim && git pull && make CMAKE_BUILD_TYPE=Release && sudo make install
fi
pip2 install --upgrade neovim
pip3 install --upgrade neovim
pip3 install --upgrade neovim-remote
gem install neovim && gem cleanup neovim
nvim --headless -c PlugUpgrade +q
nvim --headless -c PlugClean! +qall
nvim --headless -c PlugUpdate! +qall
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment