property Process.arch
The operating system CPU architecture for which the Node.js binary was compiled.
Possible values are: 'arm', 'arm64', 'ia32', 'loong64', 'mips', 'mipsel', 'ppc', 'ppc64', 'riscv64', 's390', 's390x', and 'x64'.
import { arch } from 'node:process';
console.log(`This processor architecture is ${arch}`);