Install HomeBrew
## Install xcode utils
xcode-select --install
## Install Brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
## Check that everything is Ok
brew doctor
## To update HomeBrew
brew updateTo update/upgrade a brew package just run :
brew reinstall PACKAGE_NAMESince macOS BigSure, HomeBrew path now is "/opt/homebrew" Don't forget to add this to replace line "export PATH=..." that was in .zshrc
HBP=/opt/homebrew
export PATH=$HBP/bin:$PATHApple M1 Support
Add this alias to .zshrc
alias brew="arch -arm64 brew"Install ZSH
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"Install Git
brew install git
brew install git-lfsInstall Git Flow
brew install git-flowInstall Sublime Text
brew install --cask sublime-text- Run this :
open -a Sublime\ Text /Users/$(whoami)/.zshrc- Add Git+Gitflow Aliases
- Add CocoaPods/Ruby/Fastlane Aliases
- Add Flutter Aliases
- Add ADB Aliases
Install Fork (Recommended)
brew install --cask forkInstall iTerm
brew install --cask iterm2## Install Power10k :
git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
### change them in .zshrc : ZSH_THEME="powerlevel10k/powerlevel10k"
## Install Power9k :
git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k
### change them in .zshrc : ZSH_THEME="powerlevel9k/powerlevel9k"
## Install Auto-Suggestion :
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
### Edit .zshrc & add in plugins array : plugins=(zsh-autosuggestions)
## Install Syntaxe Hylight :
brew install zsh-syntax-highlighting
## Copy/Paste in .zshrc before rvm Config : source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh >> /Users/$(whoami)/.zshrc
## Install Completion :
git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
### Edit .zshrc & add in plugins : plugins=(zsh-autosuggestions)# clone
git clone https://github.com/powerline/fonts.git --depth=1
# install
cd fonts && ./install.sh
# clean-up a bit
cd .. && rm -rf fonts## Install rvm
curl -L https://get.rvm.io | bash -s stable
### Add this somewhere in .zshrc : source /Users/$(whoami)/.rvm/scripts/rvm
## Install Ruby
rvm install ruby-2.6.5Apple M1 Support
if you want to install gems add this to your .zshrc
alias gem="arch -x86_64 gem"Install CocoaPods :
sudo gem install cocoapods -n /usr/local/binM1 Support
Add this to .zshrc
alias pod="arch -x86_64 pod"Many options to download Xcode you can use the following
Recommended Using : MAS
# Install mas
brew install mas
# Check for Xcode
mas search Xcode
# Install XCode
mas install 497799835Others :
Install xcode-install
sudo gem install xcode-installDisplay all simulators By name
xcversion simulatorsInstall a Simulator
xcversion simulators --install="iOS 14.4 Simulator"Display all availables devices and simulators ByIds
xcrun simctl listOpen Simualtor/Device ById
/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator -CurrentDeviceUDID 7395B23C-9AAE-4CEB-8FCC-82A70FCE0553To Open latest iOS Simulator
open -a Simulatorbrew install --cask openinterminalbrew install --cask spectaclebrew install --cask dozer# Java
brew tap adoptopenjdk/openjdk
brew install --cask adoptopenjdk8
echo $"\nexport JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/\n" >> /Users/$(whoami)/.zshrc
# Android Studio
brew install --cask android-studio
# Gradle
brew install gradle
export GRADLE_HOME=/usr/local/opt/gradle
export PATH=$GRADLE_HOME/bin:$PATH
# Android platform Tools
brew install --cask android-platform-tools
## or Without android-platform-tools
# Install Android SDK
brew install android-sdk
# Export paths
export ANDROID_HOME=/usr/local/opt/android-sdk
export PATH=$ANDROID_HOME/tools:$PATH
export PATH=$ANDROID_HOME/platform-tools:$PATH
export PATH=$ANDROID_HOME/build-tools/19.1.0:$PATH
# Install Android SDK 29 + Build Tool 28.0.3
sdkmanager "platform-tools" "platforms;android-29" "build-tools;28.0.3"More Infos :
brew install --cask genymotionUsefull ClI :
## Copy this to .zshrc
echo 'GMTOOL_PATH="/Applications/Genymotion.app/Contents/MacOS/"' >> /Users/$(whoami)/.zshrc
echo 'export PATH=$GMTOOL_PATH:$PATH' >> /Users/$(whoami)/.zshrc
## Display devices list
genyshell -c "devices list"
## To Create / run u need licence !
## Create a device
gmtool admin create "Google Pixel - 9.0 - API 28 - 1080x1920" GP_9
## Run a device
gmtool admin run GP_9Android Emulator - Apple M1
Download this emulator Apple M1
brew install --cask android-file-transferbrew install --cask vysorInstall Scrcpy (Recomended) (Vysor + Android File Transfer alternative)
brew install scrcpyInstall Flutter
## Install Flutter
brew install --cask flutter
# Instal dart
brew tap dart-lang/dart
brew install dart
## Migrate to null safety (Only inside a project)
# dart migrate --apply-changes
## Check That everythong is OK
flutter doctorsoftwareupdate --install-rosetta
## Flutter
arch -x86_64 sudo gem install ffiInstall VsCode
brew install --cask visual-studio-codebrew install --cask db-browser-for-sqliteYou're good to go !