2025-03-14 21:59:59 -06:00
|
|
|
# arch
|
|
|
|
|
|
|
|
|
|
> Display the name of the system architecture, or run a command under a different architecture.
|
|
|
|
|
> See also: `uname`.
|
|
|
|
|
> More information: <https://keith.github.io/xcode-man-pages/arch.1.html>.
|
|
|
|
|
|
|
|
|
|
- Display the system's architecture:
|
|
|
|
|
|
|
|
|
|
`arch`
|
|
|
|
|
|
|
|
|
|
- Run a command using x86_64:
|
|
|
|
|
|
2026-06-12 17:51:25 -06:00
|
|
|
`arch -x86_64 {{command}} {{argument1 argument2 ...}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2026-06-12 17:51:25 -06:00
|
|
|
- Run a command using ARM:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2026-06-12 17:51:25 -06:00
|
|
|
`arch -arm64 {{command}} {{argument1 argument2 ...}}`
|