LoginSignup
0
0

More than 5 years have passed since last update.

個人的な Neovim のインストール方法

Last updated at Posted at 2018-10-22

自分が使っているインストール用のスクリプトを貼っときます.

追記

18/11/30: Ubuntu 18.04 の場合は pip install pynvim を追加.

環境

  • Ubuntu 16.04
  • Python3 を有効にする

スクリプト

~/opt/pyenv/bin にはパスが通っている.

#!/bin/bash

version="$1" # 3系

sudo apt install -y libbz2-dev libreadline-dev libsqlite3-dev

if ! [ -d ~/opt/pyenv ]; then
  git clone https://github.com/pyenv/pyenv.git ~/opt/pyenv
fi

pyenv install ${version}
pyenv global ${version}

if ! which apt-add-repository > /dev/null; then
  sudo apt install -y software-properties-common
fi
sudo apt-add-repository -y ppa:neovim-ppa/unstable
sudo apt update
sudo apt install -y neovim
pip install neovim
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0