arch
Display the name of the system architecture, or run a command under a different architecture.
See also uname
.
More information: https://www.unix.com/man-page/osx/1/arch/.
-
Display the system's architecture:
arch
-
Run a command using x86_64:
arch -x86_64 "{{command}}"
-
Run a command using arm:
arch -arm64 "{{command}}"
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.