Skip to main content

macOS arch

  • ~/Library/archSettings
  • /Library/archSettings
  • /Network/Library/archSettings
  • /System/Library/archSettings
machine # 当前架构

# 使用制定的架构来运行 universal binary
arch -x86_64 brew --version
arch -arm64 brew --version
flagfor
-32
-64
-c忽略所有 env
-d ENV移除给定的 ENV
-e ENV=VAL设置 ENV
archfor
i38632-bit intel
x86_6464-bit intel
x86_64h64-bit intel (haswell)
arm6464-bit arm
arm64e64-bit arm (Apple Silicon)