Updates ubuntu dev
This commit is contained in:
@@ -7,18 +7,25 @@ sudo apt install ripgrep -y
|
|||||||
sudo cp ../sesh /usr/bin
|
sudo cp ../sesh /usr/bin
|
||||||
cp ../tmux.conf ~/.tmux.conf
|
cp ../tmux.conf ~/.tmux.conf
|
||||||
|
|
||||||
######################################## Node
|
######################################## Homebrew and ASDF
|
||||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
|
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||||
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
|
brew install asdf
|
||||||
nvm install node
|
echo -e "\n. \"$(brew --prefix asdf)/libexec/asdf.sh\"" >>~/.bashrc
|
||||||
nvm install-latest-npm
|
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 golang-go -y
|
||||||
sudo apt install ripgrep -y
|
asdf install ruby latest
|
||||||
sudo apt install ruby -y
|
gem install solargraph
|
||||||
sudo apt install ruby-dev -y
|
# sudo apt install ruby -y
|
||||||
|
# sudo apt install ruby-dev -y
|
||||||
|
|
||||||
|
######################################## Lazygit
|
||||||
sudo add-apt-repository ppa:lazygit-team/release -y
|
sudo add-apt-repository ppa:lazygit-team/release -y
|
||||||
sudo apt update
|
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
|
tar xf lazygit.tar.gz lazygit
|
||||||
sudo install lazygit /usr/local/bin
|
sudo install lazygit /usr/local/bin
|
||||||
|
|
||||||
sudo apt install alacritty -y
|
# sudo apt install alacritty -y
|
||||||
sudo flatpak install org.wezfurlong.wezterm -y
|
sudo flatpak install org.wezfurlong.wezterm -y
|
||||||
|
echo 'alias wezterm="flatpak run org.wezfurlong.wezterm"' >>~/.bashrc
|
||||||
sudo apt install tmux -y
|
|
||||||
|
|
||||||
sudo apt install software-properties-common
|
sudo apt install software-properties-common
|
||||||
|
sudo apt install tmux -y
|
||||||
|
|
||||||
|
######################################## VSCode
|
||||||
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EB3E94ADBE1229CF
|
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 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 update
|
||||||
sudo apt install code -y
|
sudo apt install code -y
|
||||||
|
|
||||||
# sudo gem install solargraph
|
|
||||||
|
|
||||||
######################################## nerd fonts
|
######################################## nerd fonts
|
||||||
sudo apt install wget fontconfig &&
|
sudo apt install wget fontconfig &&
|
||||||
wget -P ~/.local/share/fonts https://github.com/ryanoasis/nerd-fonts/releases/latest/download/Meslo.zip &&
|
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" |
|
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" |
|
||||||
sudo tee /etc/apt/sources.list.d/docker.list >/dev/null
|
sudo tee /etc/apt/sources.list.d/docker.list >/dev/null
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
####
|
|
||||||
|
|
||||||
|
######################################## Hosting
|
||||||
npm install -g @railway/cli
|
npm install -g @railway/cli
|
||||||
npm install -g vercel
|
npm install -g vercel
|
||||||
npm install -g vercel@latest
|
npm install -g vercel@latest
|
||||||
|
|
||||||
|
######################################## Configs
|
||||||
cd ~/.config/
|
cd ~/.config/
|
||||||
|
|
||||||
git config --global user.email "noisycarlos@hey.com"
|
git config --global user.email "noisycarlos@hey.com"
|
||||||
@@ -77,4 +85,4 @@ git clone https://git.noisyserver.sbs/noisycarlos/wezterm
|
|||||||
|
|
||||||
rm -r lazygit
|
rm -r lazygit
|
||||||
git clone https://git.noisyserver.sbs/noisycarlos/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
|
||||||
|
|||||||
Reference in New Issue
Block a user