2021-03-06 08:40:22 +00:00
|
|
|
# arch
|
|
|
|
|
|
|
|
> Display the name of the system architecture, or run a command under a different architecture.
|
|
|
|
> See also `uname`.
|
2021-08-23 20:33:24 +01:00
|
|
|
> More information: <https://www.unix.com/man-page/osx/1/arch/>.
|
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}}"`
|