nvim/install
2023-10-05 14:56:51 +08:00

24 lines
503 B
Plaintext
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

if [ -f /etc/lsb-release ]; then
echo "This linux is Ubuntu!!!"
# 安装neovim
apt install software-properties-common
add-apt-repository ppa:neovim-ppa/unstable
apt update && apt upgrade -y && apt install neovim -y
# 安装nodejslsp 用得到)
curl -sL https://deb.nodesource.com/setup_18.x | bash -
apt update && apt upgrade -y && apt install nodejs -y
# 安装python3
else
echo "This linux is Archlinux!!!"
sudo pacman -S --needed --noconfirm neovim nodejs
fi