Last active
April 30, 2024 19:21
-
-
Save lucassmacedo/f2829a72fc3b3c8feaaee9746ef7975b to your computer and use it in GitHub Desktop.
Start Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Atualiza os repositórios e pacotes | |
sudo apt-get update | |
sudo apt-get upgrade -y | |
# Instalação de pacotes básicos | |
sudo apt-get install -y curl git vim | |
# Configuração do Git | |
git config --global user.name "Lucas Macedo" | |
git config --global user.email "[email protected]" | |
# Instalação de softwares multimídia | |
sudo apt-get install -y vlc | |
# Instalação de ferramentas de desenvolvimento | |
sudo snap install phpstorm --classic | |
sudo snap install datagrip --classic | |
sudo snap install spotify | |
sudo snap install sublime-text --classic | |
sudo snap install postman | |
sudo snap install telegram-desktop | |
sudo snap install notion-snap-reborn | |
# Instalação do Zsh | |
sudo apt-get install -y zsh | |
# Instalação do Oh My Zsh | |
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
# Instalação de plugins do Oh My Zsh | |
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions | |
git clone https://github.com/zsh-users/zsh-syntax-highlighting ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting | |
git clone https://github.com/rupa/z ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/z | |
git clone https://github.com/zdharma/history-search-multi-word ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/history-search-multi-word | |
# Adicionando plugins ao .zshrc | |
sed -i 's/plugins=(git)/plugins=(git zsh-autosuggestions zsh-syntax-highlighting z history-search-multi-word)/' ~/.zshrc | |
# Adicionando source ~/.bash_aliases no .zshrc | |
echo "source ~/.bash_aliases" >> ~/.zshrc | |
# Instalação do Docker | |
sudo apt-get install -y apt-transport-https ca-certificates gnupg-agent software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | |
sudo apt-get update | |
sudo apt-get install -y docker-ce docker-ce-cli containerd.io | |
curl -fsSL https://kool.dev/install | sudo bash | |
sudo add-apt-repository ppa:agornostal/ulauncher -y | |
sudo apt-get update | |
sudo apt-get install ulauncher -y | |
echo "Instalação concluída!" | |
# Mudando para o Zsh como shell padrão | |
chsh -s $(which zsh) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment