25 lines
549 B
Plaintext
Executable File
25 lines
549 B
Plaintext
Executable File
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
|
||
|
||
|
||
# 安装nodejs(lsp 用得到)
|
||
curl -sL https://deb.nodesource.com/setup_18.x | bash -
|
||
apt update && apt upgrade -y && apt install nodejs -y
|
||
|
||
# 安装python3
|
||
|
||
git config --global credential.helper store
|
||
else
|
||
|
||
echo "This linux is Archlinux!!!"
|
||
sudo pacman -S --needed --noconfirm neovim nodejs
|
||
fi
|
||
|
||
|