Skip to content

Instantly share code, notes, and snippets.

@eduardoborges
Last active June 29, 2022 11:58
Show Gist options
  • Save eduardoborges/b8f7c25acc45cfe4c5d03138d5577fc6 to your computer and use it in GitHub Desktop.
Save eduardoborges/b8f7c25acc45cfe4c5d03138d5577fc6 to your computer and use it in GitHub Desktop.
postinstall
## bin/sh
# Brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/edu/.zprofile
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
exec $SHELL -l;
brew tap homebrew/cask-versions
brew tap teamookla/speedtest
brew update
# Install packages
brew install git
brew install node
brew install watchman
brew install cocoapods
brew install gh
brew install android-studio
brew install zsh
brew install zsh-completions
brew install zsh-autosuggestions
brew install axel
brew install --cask iterm2
brew install --cask google-chrome
brew install --cask 1password
brew install --cask whatsapp
brew install --cask telegram
brew install --cask speedtest
brew install tree
brew install sheerun/git-squash/git-squash
brew install --cask gitkraken
brew install --cask visual-studio-code
brew install micro
brew install docker
brew install docker-credential-helper
brew install docker-compose
# make docker plugin
mkdir -p ~/.docker/cli-plugins
ln -sfn /usr/local/opt/docker-compose/bin/docker-compose ~/.docker/cli-plugins/docker-compose
brew install minikube
brew install virtualbox
npm i -g ios-deploy
# Git
git config --global user.email "euduardoborges@gmail.com"
git config --global user.name "Eduardo Borges"
git config --global core.editor "code"
brew install spaceship
brew update
brew install pyenv
brew install mas
mas install 497799835 # Xcode
mas install 425264550 # Black Magic Disk
mas install 470158793 # Keka
mas install 1482454543 # Twitter
mas install 1153157709 # Speedtest
mas install 409183694 # Keynote
brew install --cask zulu11 gpg-suite
sudo xcode-select --switch /Applications/Xcode.app
echo '
alias p="cd ~/Projects"
alias g="git"
' >> $HOME/.zshrc
echo "\n
## Android
export ANDROID_HOME=\$HOME/Library/Android/sdk
export PATH=\$PATH:$ANDROID_HOME/emulator
export PATH=\$PATH:$ANDROID_HOME/tools
export PATH=\$PATH:$ANDROID_HOME/tools/bin
export PATH=\$PATH:$ANDROID_HOME/platform-tools
\n" >> $HOME/.zshrc
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> $HOME/.zshrc
echo 'command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"' >> $HOME/.zshrc
echo 'eval "$(pyenv init -)"' >> $HOME/.zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment