Last active
May 24, 2022 15:44
-
-
Save albovieira/a63350bd29b3c357575ec86387efca10 to your computer and use it in GitHub Desktop.
Initial setup for linux
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
# Instal: | |
# - Chome | |
# - Terminal terminator | |
# - git | |
# - zsh terminal | |
# - ohmyzsh framework | |
# - high light terminal | |
# - visual code | |
# - docker + docker-compose | |
# install chrome | |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && sudo dpkg -i google-chrome-stable_current_amd64.deb | |
#install terminator | |
sudo add-apt-repository ppa:gnome-terminator/nightly-gtk3 && sudo apt update && sudo apt install terminator python-cairo -y | |
#install git | |
sudo apt install git -y && git --version | |
#install curl | |
sudo apt install curl -y | |
#zsh | |
sudo apt install zsh -y && chsh -s $(which zsh) && zsh --version | |
#ohmyzsh | |
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
#highlight | |
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git && echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc && source ./zsh-syntax-highlighting/zsh-syntax-highlighting.zsh | |
#vscode | |
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg | |
sudo install -o root -g root -m 644 packages.microsoft.gpg /etc/apt/trusted.gpg.d/ | |
sudo sh -c 'echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/trusted.gpg.d/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list' | |
rm -f packages.microsoft.gpg | |
sudo apt install apt-transport-https | |
sudo apt update | |
sudo apt install code # or code-insiders | |
#docker | |
sudo apt-get install \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
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 docker-ce docker-ce-cli containerd.io && docker -v | |
#docker-compose | |
sudo curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose | |
#nosqlboosterWW | |
wget https://nosqlbooster.com/s3/download/releasesv5/nosqlbooster4mongo-5.2.9.AppImage && chmod +x nosqlbooster4mongo-5.2.9.AppImage && ./nosqlbooster4mongo-5.2.9.AppImage | |
#npm | |
sudo apt install npm -y | |
#nodejs | |
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.35.2/install.sh | bash && . $NVM_DIR/nvm.sh && nvm --version && npm i in ~/.nvm && nvm install --lts && node -v | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | zsh | |
#type | |
sudo npm install -g typescript && tsc --version | |
#aws-cli | |
sudo apt-get install awscli | |
# fzf | |
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf && ~/.fzf/install | |
git clone https://github.com/zsh-users/zsh-autosuggestions && source ~/zsh-autosuggestions/zsh-autosuggestions.zsh | |
#https://github.com/joshskidmore/zsh-fzf-history-search | |
# | |
source ~/.zshrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment