cd ~
git clone [email protected]:out3/dotfiles.git --recursive .dotfiles
cd .dotfiles && ./install
source ~/.zshrc
tmux source-file ~/.tmux.conf
# Update repositories
sudo apt update
# Install prerequisites
sudo apt install -y curl git
# CLI
sudo apt install -y tmux exa fzf fd-find ripgrep tree thefuck
# Python3.11 + env wrapper
sudo add-apt-repository ppa:deadsnakes/ppa -y
sudo apt install -y python3.11 python3-dev python3.11-venv python3-pip
pip3 install virtualenvwrapper
# NPM + PNPM
curl -fsSL https://deb.nodesource.com/setup_21.x | bash - &&\
sudo apt install -y nodejs
sudo apt install npm
npm install -g pnpm
# Lazygit
LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep -Po '"tag_name": "v\K[^"]*')
curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz"
tar xf lazygit.tar.gz lazygit
sudo install lazygit /usr/local/bin
# Zsh + Oh my ZSH
sudo apt install -y zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"