tldr/pages/osx/arch.md

18 lines
364 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://keith.github.io/xcode-man-pages/arch.1.html>.
- 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}}"`