-
-
Save isaac-tribal/99a0aab443c4a064e7de3c846a1cb0d4 to your computer and use it in GitHub Desktop.
Semi auto-install development environment for a new Mac
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 | |
#Download manually Xcode https://developer.apple.com/download/more/ | |
#Install oh-my-zsh | |
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
#Activate sintax highlighting plugin | |
#Clone this repository in oh-my-zsh's plugins directory: | |
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting | |
#Activate the plugin in ~/.zshrc: | |
plugins=( [plugins...] zsh-syntax-highlighting) | |
#Add syntax color to vim | |
echo "filetype plugin indent on \nsyntax on" > ~/.vimrc | |
#jHipster plugin | |
cd ~/.oh-my-zsh/custom/plugins && git clone https://github.com/jhipster/jhipster-oh-my-zsh-plugin.git jhipster && cd && . ~/.zshrc | |
#Activate the plugin in ~/.zshrc: | |
plugins=( ... jhipster ) | |
#Install Home Brew (Lento) | |
# Deprecated /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" | |
#adobe-acrobat-reader | |
#brew cask install adobe-acrobat-reader | |
#iterm2 | |
brew install iterm2 --cask | |
#Java jdk 8 | |
#Manual | |
#git flow | |
brew install htop hstr telnet git-flow-avh minikube yarn | |
# zsh | |
hstr --show-configuration >> ~/.zshrc | |
#python manager | |
brew install pyenv | |
# zsh | |
echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.zshrc | |
#recommended packages for pyenv | |
brew install sqlite zlib | |
# optional, but recommended: | |
#ruby manager | |
brew install rbenv | |
rbenv global 2.6.5 | |
rbenv rehash | |
#spring boot cli | |
brew tap pivotal/tap | |
brew install springboot | |
#nvm | |
brew install nvm | |
#config nvm | |
#export NVM_DIR="$HOME/.nvm" | |
# [ -s "/usr/local/opt/nvm/nvm.sh" ] && . "/usr/local/opt/nvm/nvm.sh" # This loads nvm | |
# [ -s "/usr/local/opt/nvm/etc/bash_completion" ] && . "/usr/local/opt/nvm/etc/bash_completion" # This loads nvm bash_completion | |
#install node | |
nvm install --lts | |
npm install -g @angular/cli @ionic/cli yo generator-jhipster ignite-cli ios-deploy yarn react-native-rename | |
#commitizen | |
npm install -g commitizen cz-conventional-changelog | |
echo '{ "path": "cz-conventional-changelog" }' > ~/.czrc | |
#Postman | |
npm install -g newman postman-collection-transformer | |
#cocoapods (very slow) | |
sudo gem install cocoapods #or | |
gem install cocoapods #with rbenv | |
#configuracion de proxy para google * | |
#open -a /Applications/Google\ Chrome\ Canary.app --args --proxy-server="http://192.168.0.8:8080" | |
#JDK 11 | |
brew tap AdoptOpenJDK/openjdk | |
brew install adoptopenjdk11 --cask | |
#android platform tools (adb) | |
brew cask install android-studio | |
#With Android Studio directly (React Native Guide) | |
#Add to .zshrc profile | |
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 | |
#React Native / Fastlane | |
brew install watchman imagemagick | |
#Mysql 5.7 | |
brew tap homebrew/services | |
brew link [email protected] --force | |
#all | |
brew install adobe-acrobat-pro airserver brave-browser burp-suite cleanmymac docker evernote github gisto google-chrome google-cloud-sdk jetbrains-toolbox microsoft-edge microsoft-office microsoft-azure-storage-explorer mysqlworkbench microsoft-teams openvpn-connect postman provisionql qbittorrent react-native-debugger slack skype sourcetree vagrant vagrant-manager virtualbox visual-studio-code webstorm xquartz zoom --cask | |
#Virtual Box | |
# In Big Sur. In the General tab of the Security & Privacy preferences, and accept the permissions | |
#https://forums.virtualbox.org/viewtopic.php?f=39&t=98763&sid=7541dfcace7a86fdb5bc8a281296ad94&start=75#p488555 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment