Returns the current operating system architecture. Possible values are 'x86', 'x86_64', 'arm', 'aarch64', 'mips', 'mips64', 'powerpc', 'powerpc64', 'riscv64', 's390x', 'sparc64'.
'x86'
'x86_64'
'arm'
'aarch64'
'mips'
'mips64'
'powerpc'
'powerpc64'
'riscv64'
's390x'
'sparc64'
import { arch } from '@tauri-apps/plugin-os';const archName = arch(); Copy
import { arch } from '@tauri-apps/plugin-os';const archName = arch();
2.0.0
Returns the current operating system architecture. Possible values are
'x86'
,'x86_64'
,'arm'
,'aarch64'
,'mips'
,'mips64'
,'powerpc'
,'powerpc64'
,'riscv64'
,'s390x'
,'sparc64'
.