% arch
arm64
% uname -m
arm64
% uname -a
Darwin my-mbp.lan 22.3.0 Darwin Kernel Version 22.3.0: Thu Jan 5 20:48:54 PST 2023; root:xnu-8792.81.2~2/RELEASE_ARM64_T6000 arm64
Man page notes:
uname – display information about the system
The uname command writes the name of the operating system implementation to standard output. When options are specified, strings representing one or more system characteristics are written to standard output.
-a Behave as though the options -m, -n, -r, -s, and -v were specified.
-m Write the type of the current hardware platform to standard output. (make(1) uses it to set the MACHINE variable.)
arch – print architecture type or run selected architecture of a universal binary