Skip to content

Apple Silicon setup

LeoTM edited this page Sep 18, 2025 · 49 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
    • softwareupdate -ia
  • brew
    • adds eval "$(/opt/homebrew/bin/brew shellenv)" to .zprofile
      • i.e. shell setup prepending $HOMEBREW_PREFIX both /bin and /sbin dirs to $PATH
        • i.e. to manage in isolation to
          • /usr/local/bin
          • /System/Cryptexes/App/usr/bin
          • /usr/{bin,sbin}
          • /{bin,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
          • /Library/Apple/usr/bin

    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
    • 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
  • 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)
  • brew install --cask android-studio-preview@canary
    • android-studio-2025.1.4.4-mac_arm.dmg (1.43GB)
    • if boot fail, revert/downgrade to prev canary
  • choose your Node version manager
  • Setting up the development environment per OS (rbenv)
    • ⚠️πŸ”₯ brew install --cask zulu
      • open /opt/homebrew/Caskroom/zulu/24.0.2,24.32.13 install 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