You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use sysctl -n sysctl.proc_translated, which returns 1 when running under Rosetta and 0 otherwise. If running under Rosetta, we should install the x86-64 binaries, not the ARM64 ones.
if [ $(sysctl -n sysctl.proc_translated) ]
thenecho"Rosetta"elseecho"Not Rosetta"fi
The text was updated successfully, but these errors were encountered:
Use
sysctl -n sysctl.proc_translated
, which returns 1 when running under Rosetta and 0 otherwise. If running under Rosetta, we should install the x86-64 binaries, not the ARM64 ones.The text was updated successfully, but these errors were encountered: