# view-hardware 主流平台的硬件查看工具 安装方式 ``` cargo instll view-hardware ``` 执行方式 ``` vh ``` ## 输出预览 macOS ```bash XiaoXiaoFeiTongXue view-hardware git:(main) ./vh CPU: 1 * Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz,8核16线程 Memory: 2 * 16GB,2667MHz,DDR4 Disk: 1 * 1000GB,SSD ``` windows ```powershell C:\Users\Administrator>Desktop\vh CPU: 2 * Intel(R) Xeon(R) CPU E5-2689 0 @ 2.60GHz,8核16线程 Memory: 1 * 16GB,1600MHz,DDR3 Disk: 1 * 500GB,SSD ``` linux ```bash [root@localhost ~]$ ./vh CPU: 1 * Intel(R) Xeon(R) Gold 6133 CPU @ 2.50GHz,4核1线程 Memory: 1 * 16GB,0MHz, Disk: 1 * 120GB,SSD ```