Mac Book Setup
MacBook Survival Guide for Linux/Windows Engineers
A practical cheat sheet for staying productive on macOS while keeping your Ubuntu/Windows muscle memory intact.
Modifier Keys: The Only Thing That Matters
macOS uses different modifier keys:
⌘ Command → Your new Ctrl
⌥ Option → Your new Alt
⌃ Control → Rarely used (right‑click)
⇧ Shift → Same as everywhere
Common shortcuts
Copy: ⌘C
Paste: ⌘V
Find: ⌘F
Close tab: ⌘W
Switch apps: ⌘Tab
Switch windows of same app: `⌘\`` (backtick)
Make macOS Feel Like Ubuntu
Terminal Install iTerm2 and core CLI tools:
brew install --cask iterm2
brew install git tmux ripgrep fd fzf wget curl
Optional shell upgrades:
brew install starship
brew install zsh-autosuggestions zsh-syntax-highlighting
Enable Starship:
eval "$(starship init zsh)"
Window Management (Windows‑Style Snapping)
Install Rectangle:
brew install --cask rectangle
Useful shortcuts:
Left half: ⌥⌘←
Right half: ⌥⌘→
Maximise: ⌥⌘↑
Essential Developer Tools
Homebrew (package manager) Install:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Languages & Tools
brew install node python go ruby
brew install docker docker-compose
brew install kubectl k9s
brew install --cask visual-studio-code
Kubernetes Tools
brew install kubectx
brew install helm
brew install minikube
Homebrew Package Management
List installed packages
brew list
brew list --cask
Search for a package
brew search <name>
Show available versions
brew info <package>
This displays:
Installed version
Latest version
Dependencies
Whether it’s a cask or formula
The tap it comes from
Upgrade everything
brew update
brew upgrade
Remove a package
brew uninstall <package>
Clean old versions
brew cleanup
Homebrew Repository (Tap) Management
Homebrew supports additional repositories (“taps”).
List taps
brew tap
Add a tap
brew tap <user/repo>
Example:
brew tap homebrew/cask-fonts
Remove a tap
brew untap <user/repo>
Samsung Fold + Mac: Hands‑Free Integration
macOS doesn’t have Phone Link, but these work well:
Intel Unison (best overall)
brew install --cask intel-unison
Features:
Notifications
Calls
SMS
File transfer
Photos
KDE Connect (Linux‑style integration) Code
brew install --cask kdeconnect
Install KDE Connect on your Samsung Fold too.
Google Messages for Web For SMS only:
https://messages.google.com/web
Music Player (Phone + USB Workflow)
VLC (best all‑rounder)
Code
brew install --cask vlc Handles:
USB drives
Local files
Network streams
No iTunes lock‑in
USB Drive Support macOS supports:
exFAT
FAT32
NTFS (read‑only)
For NTFS write support:
brew install ntfs-3g
Phone → Mac audio Bluetooth
USB‑C audio (Fold supports it)
Smart Switch mode for file transfer
Optional: Make the Keyboard Feel Like Linux
Swap Caps Lock → Ctrl System Settings → Keyboard → Modifier Keys
Full remapping with Karabiner‑Elements
brew install --cask karabiner-elements