Skip to content

Apple Silicon setup

LeoTM edited this page Sep 11, 2025 · 101 revisions

New machine

  • beta.apple.com > Guide for Beta Software > macOS
  • beta.apple.com > Enrol Your Devices > macOS
  • macOS Tahoe 26 Developer Beta ⚠️πŸ”₯ (17 GB)
    • softwareupdate -l
  • /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    • prepends to $PATH
    • updates .zprofile

    You are using macOS 26.0. We do not provide support for this pre-release version. This installation may not succeed. After installation, you will encounter build failures with some formulae. Please create pull requests instead of asking for help on Homebrew's GitHub, Twitter or any other official channels. You are responsible for resolving any issues you experience while you are running this pre-release version.

  • choose your shell
    • brew install zsh
    • e.g. echo "$(brew --prefix)/bin/zsh" | sudo tee -a /etc/shells
    • chsh -s /opt/homebrew/bin/zsh (or via GUI System Settings)
    • choose framework or plugin manager
  • choose your terminal
  • choose your window manager
  • choose your package manager get yarn, then set version berry, yarn set version canary
  • choose your AI CLI agent
  • Xcode (stable/rc/beta) most Homebrew formulae need a compiler, a few need a full Xcode install
    • sudo xcode-select --switch /Applications/Xcode-beta.app
    • xcode-select --install (CLI tools)
    • sudo xcodebuild -license accept
    • xcodebuild -runFirstLaunch
    • xcodebuild -downloadPlatform iOS
      • iOS 26.0 Simulator (23A5326a) (arm64): (7.85 GB)
  • android-studio-preview-canary if boot fail, revert/downgrade to prev canary
    • brew install --cask android-studio-preview@canary
      • android-studio-2025.1.4.4-mac_arm.dmg (1.43GB)
  • Setting up the development environment per OS (rbenv, JDK)
+
  • vpn
  • flux / night shift
  • get brave-browser-nightly, open -a 'Brave Browser Nightly' then verify Apple auth
  • fastlane
  • scrcpy / vysor
  • ccache
  • negative
  • github
  • reactotron
  • jenv
  • act
  • OpenMTP/LocalSend/MacDroid
    • brew install --cask <openmtp/localsend/macdroid>
    • device: Settings>About>BuildNo (tap 7x)
    • device: Settings>System>DevOps>USBdebugging
    • adb devices

Erasing


npx clear-npx-cache πŸ”« ⚠️

adb reverse tcp:8081 tcp:8081 Metro <-> Android

brew update && brew outdated --greedy && brew upgrade --greedy && brew cleanup πŸ”₯

# Default $PATH
/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin
# System default bins
ls -l /usr/bin /bin /usr/sbin /sbin /usr/libexec

whereis ignores $PATH

Clone this wiki locally