Skip to content

Instantly share code, notes, and snippets.

@isaax2
Last active March 5, 2025 01:26
Show Gist options
  • Save isaax2/e312485ee1ee6e78df1421b46695aa8d to your computer and use it in GitHub Desktop.
Save isaax2/e312485ee1ee6e78df1421b46695aa8d to your computer and use it in GitHub Desktop.
Semi auto-install development environment for a new Mac
#!/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 cask install iterm2
#history plugin
brew install hstr
hstr --show-zsh-configuration >> ~/.zshrc
#asdf
brew install asdf
# asdf node
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git
#list current versions
asdf list-all nodejs
#set a version
asdf set nodejs 18.20.7
# asdf python
asdf plugin add python
asdf set python 3.8.19
# ....
# Objection
#install frida-tools
pip install frida-tools
pip install -U objection
# asdf reshim python
#... install frida-server on Android device
# start frida-server on rooted device
adb shell "su -c /data/local/tmp/frida-server &"
# Android dependency
brew install apktool
# start on objection on Android
objection --gadget "com.ey.a.stemtribe" explore --startup-command 'android sslpinning disable'
#Java jdk 8
#Manual
#netbeans
#brew cask install netbeans
#slack
#brew cask install slack
#soapui
#brew cask install soapui
#git flow
brew install htop telnet git-flow-avh minikube yarn
# azure cli
brew install azure-cli
#azure functions
brew tap azure/functions
brew install azure-functions-core-tools@4
# azurite
npm install -g azurite
#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
#commitizen
npm install -g commitizen cz-conventional-changelog
echo '{ "path": "cz-conventional-changelog" }' > ~/.czrc
#cocoapods (very slow)
sudo gem install cocoapods
#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 cask install adoptopenjdk11
#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
#all
brew cask install appcode adobe-acrobat-pro brave-browser cleanmymac docker evernote github gisto google-chrome google-cloud-sdk intellij-idea microsoft-office mysqlworkbench qbittorrent react-native-debugger skype sourcetree visual-studio-code webstorm xquartz zoomus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment