19 lines
431 B
Bash
19 lines
431 B
Bash
|
if [ -f /etc/lsb-release ]; then
|
||
|
echo "This linux is Ubuntu!!!"
|
||
|
|
||
|
apt install software-properties-common
|
||
|
add-apt-repository ppa:neovim-ppa/unstable
|
||
|
apt update && apt upgrade -y && apt install neovim -y
|
||
|
|
||
|
|
||
|
curl -sL https://deb.nodesource.com/setup_lts.x | bash -
|
||
|
apt update && apt upgrade -y && apt install nodejs -y
|
||
|
|
||
|
else
|
||
|
|
||
|
echo "This linux is Archlinux!!!"
|
||
|
sudo pacman -S --needed --noconfirm neovim nodejs
|
||
|
fi
|
||
|
|
||
|
|