Updates ubuntu dev

This commit is contained in:
2024-11-04 07:42:41 -08:00
parent c94cd5897f
commit a211e9ad38

View File

@@ -7,18 +7,25 @@ sudo apt install ripgrep -y
sudo cp ../sesh /usr/bin
cp ../tmux.conf ~/.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
########
######################################## Homebrew and ASDF
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install asdf
echo -e "\n. \"$(brew --prefix asdf)/libexec/asdf.sh\"" >>~/.bashrc
echo -e "\n. \"$(brew --prefix asdf)/etc/bash_completion.d/asdf.bash\"" >>~/.bashrc
source ~/.bashrc
asdf plugin add ruby https://github.com/asdf-vm/asdf-ruby.git
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git
######################################## Languages
asdf install nodejs latest
sudo apt install golang-go -y
sudo apt install ripgrep -y
sudo apt install ruby -y
sudo apt install ruby-dev -y
asdf install ruby latest
gem install solargraph
# sudo apt install ruby -y
# sudo apt install ruby-dev -y
######################################## Lazygit
sudo add-apt-repository ppa:lazygit-team/release -y
sudo apt update
@@ -27,19 +34,19 @@ curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/lates
tar xf lazygit.tar.gz lazygit
sudo install lazygit /usr/local/bin
sudo apt install alacritty -y
# sudo apt install alacritty -y
sudo flatpak install org.wezfurlong.wezterm -y
sudo apt install tmux -y
echo 'alias wezterm="flatpak run org.wezfurlong.wezterm"' >>~/.bashrc
sudo apt install software-properties-common
sudo apt install tmux -y
######################################## VSCode
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 &&
@@ -60,12 +67,13 @@ echo \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" |
sudo tee /etc/apt/sources.list.d/docker.list >/dev/null
sudo apt-get update
####
######################################## Hosting
npm install -g @railway/cli
npm install -g vercel
npm install -g vercel@latest
######################################## Configs
cd ~/.config/
git config --global user.email "noisycarlos@hey.com"
@@ -77,4 +85,4 @@ git clone https://git.noisyserver.sbs/noisycarlos/wezterm
rm -r lazygit
git clone https://git.noisyserver.sbs/noisycarlos/lazygit
git clone https://git.noisyserver.sbs/tmux-plugins/tpm ~/.tmux/plugins/tpm
# git clone https://git.noisyserver.sbs/tmux-plugins/tpm ~/.tmux/plugins/tpm