libcpuid

C library for x86 CPU detection and feature extraction

brewmacoslinux
Try with needOr install directly
Source

About

Small C library for x86 CPU detection and feature extraction

Commands

cpuid_tool

Examples

Display detailed CPU information and capabilities$ cpuid_tool
Get CPU vendor and model information$ cpuid_tool | grep -E 'vendor|model'
Check for specific CPU features like AVX support$ cpuid_tool | grep -i avx