sudo apt update
sudo apt upgrade
sudo apt install ninja-build gettext cmake curl build-essential git
sudo apt install luarocks fzf ripgrep fd-find golang-go python3 python3-neovim wget python3-pip python3-venv npm

mkdir ~/install
cd ~/install

[ -e neovim ] || git clone https://github.com/neovim/neovim
cd neovim/
git fetch --tags --prune --force
git checkout stable
git pull origin stable --force
maek clean
rm -rf build
make CMAKE_BUILD_TYPE=RelWithDebInfo
make install

[ -e ~/.config/nvim ] || {
	git clone https://github.com/LazyVim/starter ~/.config/nvim
	rm -rf ~/.config/nvim/.git
}


GOBIN=/usr/local/bin go install github.com/jesseduffield/lazygit@latest
