ARM64 vs x86_64
You can verify whether your machine is using the ARM64 architecture or not by using different methods, depending on your operating system.
On Linux (including Ubuntu):
You can check your machine's architecture using the following commands:
Check CPU architecture: Open a terminal and run the command:
lscpuThis will display detailed information about your CPU architecture. Look for the Architecture field in the output:
If it says
aarch64, then you are using an ARM64 (64-bit ARM) machine.If it says
x86_64, then you are using a 64-bit x86 (Intel/AMD) architecture.
Check the system's architecture: You can also use the following command:
uname -mIf the output is
aarch64, you are on an ARM64 system.If the output is
x86_64, you are on an x86_64 (Intel/AMD) system.
On macOS (for M1/M2 Macs):
If you are using a modern Mac (with an Apple Silicon chip like the M1 or M2), it is based on ARM64. To confirm:
About This Mac:
Click on the Apple logo in the top left corner.
Select About This Mac.
If it mentions Apple M1 or Apple M2, you are on an ARM64 machine.
Using Terminal: Open a terminal and run:
uname -mIf it shows
arm64, then you are on an ARM64 machine.If it shows
x86_64, then you are on an Intel-based Mac.
On Windows:
If you are using Windows on an ARM64 machine (such as on a Surface Pro X or similar device), follow these steps:
System Information:
Press
Win + R, typemsinfo32, and press Enter.In the System Information window, look for System Type.
If it says ARM-based PC, then you are on an ARM64 system.
If it says x64-based PC, then you are on a 64-bit x86 (Intel/AMD) system.
Command Line: You can also open Command Prompt and type:
If the output is
ARM64, your machine is using the ARM64 architecture.If it says
64-bit, then you are using an Intel/AMD-based machine.
Conclusion:
Use
lscpuoruname -min Linux/macOS to check foraarch64(ARM64).On Windows, check System Information for "ARM-based PC" or use
wmic.
Let me know if you need any further details on these methods!
Last updated