Files
linux-setup/ubuntu-dev.sh
2024-03-23 09:45:19 -07:00

62 lines
1.9 KiB
Bash

sudo apt install zig -y
snap install nvim --classic
sudo cp ./sesh /usr/bin
cp .tmux.conf ~
###### Node
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
nvm install node
nvm install-latest-npm
########
sudo apt install golang-go -y
sudo apt install ripgrep -y
sudo apt install ruby -y
sudo apt install ruby-dev -y
sudo add-apt-repository ppa:lazygit-team/release -y
sudo apt update
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
sudo apt install alacritty -y
sudo flatpak install org.wezfurlong.wezterm -y
sudo apt install tmux -y
sudo apt install software-properties-common
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EB3E94ADBE1229CF
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'
sudo apt update
sudo apt install code -y
# sudo gem install solargraph
##### nerd fonts
sudo apt install wget fontconfig &&
wget -P ~/.local/share/fonts https://github.com/ryanoasis/nerd-fonts/releases/latest/download/Meslo.zip &&
cd ~/.local/share/fonts && unzip Meslo.zip && rm *Windows* && rm Meslo.zip && fc-cache -fv
######
npm install -g @railway/cli
npm install -g vercel
npm install -g vercel@latest
cd ~/.config/
git clone http://www.github.com/noisycarlos/kitty
git config --global user.email "noisycarlos@hey.com"
git config --global user.name "Carlos Aldana"
git clone https://github.com/noisycarlos/kitty
git clone https://github.com/noisycarlos/nvim
git clone https://github.com/noisycarlos/wezterm
rm -r lazygit
git clone https://github.com/noisycarlos/lazygit