tldr/pages/osx/arch.md

18 lines
353 B
Markdown
Raw Normal View History

# 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:
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}}"`