2021-03-06 08:40:22 +00:00
|
|
|
# arch
|
|
|
|
|
|
|
|
> Display the name of the system architecture, or run a command under a different architecture.
|
2023-11-29 04:59:40 +00:00
|
|
|
> See also: `uname`.
|
2024-01-31 10:20:27 +00:00
|
|
|
> More information: <https://keith.github.io/xcode-man-pages/arch.1.html>.
|
2021-03-06 08:40:22 +00:00
|
|
|
|
|
|
|
- Display the system's architecture:
|
|
|
|
|
|
|
|
`arch`
|
|
|
|
|
|
|
|
- Run a command using x86_64:
|
|
|
|
|
2022-02-14 11:21:43 +00:00
|
|
|
`arch -x86_64 "{{command}}"`
|
2023-02-07 18:22:36 +00:00
|
|
|
|
|
|
|
- Run a command using arm:
|
|
|
|
|
|
|
|
`arch -arm64 "{{command}}"`
|