Open terminal.app
xcode-select --install
sudo xcodebuild -license accept
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew tap homebrew/cask --force
# Nerd fonts
brew install --cask font-fira-code-nerd-font font-ubuntu-mono-nerd-font font-lexend
# ZSH shell & zim framework setup
curl -fsSL https://raw.githubusercontent.com/zimfw/install/master/install.zsh | zsh
zimfw install
# Shell prompt & theme customization
brew install starship
echo 'eval "$(starship init zsh)"' >> ~/.zshrc
mkdir -p ~/.config && touch ~/.config/starship.toml
starship preset no-runtime-versions >> ~/.config/starship.toml
echo 'command_timeout = 1200\n' | cat - ~/.config/starship.toml > temp && mv temp ~/.config/starship.toml
echo '\n[aws]\ndisabled=true\n\n[gcloud]\ndisabled=true\n' >> ~/.config/starship.toml
echo '[username]\nstyle_user = "green bold"\nstyle_root = "red bold"\nformat = "[$user]($style)"\ndisabled = false\nshow_always = true\n\n[hostname]\nssh_only = false\nformat = "[@$hostname](green bold) "\ndisabled = false' >> ~/.config/starship.toml
echo '\n[git_status]\nahead = "⇡${count}"\ndiverged = "⇕⇡${ahead_count}⇣${behind_count}"\nbehind = "⇣${count}"' >> ~/.config/starship.toml
# Modern replacement for "nano" (editor)
brew install micro
echo 'alias nano="micro"' >> ~/.zshrc
git config --global core.editor "micro"
p() {
if [[ -f bun.lockb ]]; then
command bun "$@"
if [[ -f pnpm-lock.yaml ]]; then
command pnpm "$@"
elif [[ -f yarn.lock ]]; then
command yarn "$@"
elif [[ -f package-lock.json ]]; then
command npm "$@"
else
command pnpm "$@"
fi
}
Allow apps from anywhere:
sudo spctl --master-disable
No delay dock:
defaults write com.apple.dock autohide-time-modifier -int 0
Mouse options:
brew install --cask linearmouse
brew install node@22
brew link node@22 --force
npm install -g pnpm
npm install -g prettier eslint eslint-plugin-prettier
npm install -g typescript
npm install -g ts-node nodemon
npm install -g serve localtunnel vercel
brew tap homebrew/cask-versions
brew install --cask temurin17
export JAVA_HOME=$(/usr/libexec/java_home -v '17*')
brew install maven
brew install cmake
brew install pkg-config
brew install --cask miniconda
conda create -n py312 python=3.12
conda activate py312
python --version
conda install jupyter
conda install pytorch torchvision -c pytorch
brew install watchman
brew install cocoapods
brew install ios-deploy
brew cask install android-sdk
brew cask install android-platform-tools
export ANDROID_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
yes | sdkmanager --licenses && sdkmanager --update
adb devices
brew install composer
brew install php
# To mount NTFS drives
brew tap gromgit/homebrew-fuse
brew install --cask macfuse
brew install ntfs-3g-mac
brew install --cask Mounty
# Move and resize windows with keyboard shortcuts
brew install --cask Rectangle
# Privacy friendly web browser based on Chrome
brew install --cask Brave-browser
# File archiver
brew install --cask Keka
# Open source Firefox (web browser) fork
brew install --cask waterfox
# Disk usage utility (visualizer)
brew install --cask Disk-Inventory-X
# Screenshot
brew install --cask Shottr
# Screen recorder
brew install --cask Kap
# IDE
brew install --cask Visual-Studio-Code
# Torrent downloader
brew install --cask qBittorrent
# Format SD cards & USB drives
brew install --cask sdFormatter
# Flash OS images to SD cards & USB drives
brew install --cask balenaEtcher
# Remote desktop
brew install --cask AnyDesk
# Optimize images
brew install --cask ImageOptim
# Design app
brew install --cask Figma
# Simple video editing app
brew install --cask Shotcut
# Video compression
brew install --cask HandBrake
# Handle .RAR archive files
brew install --cask The-Unarchiver
# FTP / SFTP client
brew install --cask Cyberduck
# Web Debugging Proxy
brew install --cask Charles
# Containerized application development
brew install --cask Docker
# Android simulator
brew install --cask Genymotion