Skip to content

M1 Setup

LeoTM edited this page Aug 29, 2025 · 113 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)
  • brew (prepends to $PATH)

    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
  • Xcode (stable/rc/beta) most Homebrew formulae need a compiler, a few need a full Xcode install
  • xcode-select --install (CLI tools) eta 125 hrs (βŠ™οΌΏβŠ™')
  • android-studio-preview-canary if boot fail, downgrade to prev canary (android-platform-tools)
  • android-file-transfer, Settings>About>BuildNo(7), Settings>System>DevOps>USBdebugging, adb devices
  • get yarn, then set version berry, yarn set version canary
  • Setting up the development environment per OS (rbenv, JDK)
  • Initial Preview v3: Google APIs System Image (1.3 GB)
+
  • von
  • 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

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