Skip to content

[BUG] --stat command doesn't work on macOS #1755

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
CTRL-panino opened this issue May 14, 2025 · 6 comments
Closed
1 task done

[BUG] --stat command doesn't work on macOS #1755

CTRL-panino opened this issue May 14, 2025 · 6 comments
Labels
bug Something isn't working can't reproduce

Comments

@CTRL-panino
Copy link

CTRL-panino commented May 14, 2025

Read the FAQ first

  • I have checked the FAQ but the issue is not covered

Description

The --stat command doesn't work on macOS.
As shown in the attached screenshot, none of the modules are displayed except for title and camera.
I am not using Homebrew, which may or may not be relevant.
I am currently using the latest version of Fastfetch and macOS Sequoia.

Version used

2.43.0

Bug prevalence

Always

Regression

No

Installation

GitHub Releases

Screenshots

Image

Configuration

{
    "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
    "logo": {
       "padding": {
          "top": 5
       }
    },
    "display": {
       "separator": " -> ",
       "color": {
          "separator": "2"
       }
    },
    "modules": [
       {
          "type": "title",
          "color": {
             "at": "2"
          }
       },
       {
          "type": "separator",
          "outputColor": "2"
       },
       "break",
       {
          "type": "custom",
          "format": "{#keys}{#1}{#yellow}모Hardware"
       },
       {
          "type": "host",
          "key": "├ Model ",
          "keyColor": "yellow",
          "format": "{5} {2} {3}"
       },
       {
          "type": "display",
          "key": "├ Screen",
          "keyColor": "yellow",
          "format": "{22} x {23} px @ {24} Hz{?12} in {12}\" ({13} ppi){?} - {14} bit - HDR: {20} - {7}"
       },
       {
          "type": "brightness",
          "key": "├ Bright",
          "keyColor": "yellow",
          "format": "{1}",
          "percent": {
             "type": [
                "num"
             ]
          }
       },
       {
          "type": "cpu",
          "key": "├ CPU   ",
          "keyColor": "yellow",
          "format": "{1} - {5} core @ {7} - {8}",
          "temp": true
       },
       {
          "type": "gpu",
          "key": "├ GPU   ",
          "keyColor": "yellow",
          "format": "{2} - {5} core @ {12} - {4} - {11}",
          "temp": true
       },
       {
          "type": "memory",
          "key": "├ Memory",
          "keyColor": "yellow"
       },
       {
          "type": "disk",
          "key": "├ Disk  ",
          "keyColor": "yellow",
          "format": "{10} ({20}) - {1} / {2} ({3}) - {9}"
        },
        {
          "type": "battery",
          "key": "├ Charge",
          "keyColor": "yellow",
          "format": "{4}{?12} ({12} hours, {13} mins remaining){?} - {7} cycles - {6}",
          "temp": true,
          "percent": {
             "green": 51,
             "yellow": 11
          }
       },
       {
          "type": "camera",
          "key": "├ Camera",
          "keyColor": "yellow",
          "format": "{1} - {5} x {6} px"
       },
       {         
          "type": "sound",
          "key": "└ Sound ",
          "keyColor": "yellow",
          "format": "{2} - {3}",
          "percent": {
             "type": [
                "num"
             ]
          }
       },
       "break",
       {
          "type": "custom",
          "format": "{#keys}{#1}{#magenta} Software"
       },
       {
          "type": "os",
          "key": "├ OS Ver",
          "keyColor": "magenta",
          "format": "{2} {10} {8} - {12}"
       },
       {
          "type": "uptime",
          "key": "├ Uptime",
          "keyColor": "magenta"
       },
       {
          "type": "shell",
          "key": "├ Shell ",
          "keyColor": "magenta"
       },
       {
          "type": "processes",
          "key": "├ Tasks ",
          "keyColor": "magenta"
       },
       {
          "type": "command",
          "key": "└ Apps  ",
          "keyColor": "magenta",
          "text": "user_apps=$(($(ls /Applications | grep '\\.app$' | wc -l) - 1)); system_apps=$(($(ls /System/Applications | grep '\\.app$' | wc -l) - 1 + $(ls /System/Applications/Utilities | grep '\\.app$' | wc -l) - 1)); total=$(($user_apps + $system_apps)); echo \"Total: $total - User: $user_apps - System: $system_apps\""
       },
       "break",
       {
          "type": "custom",
          "format": "{#keys}{#1}{#blue}ᯤ Connectivity"
       },
       {
          "type": "publicip",
          "key": "├ Pub IP",
          "keyColor": "blue",
          "format": "{1} - {2}"
       },
       {
          "type": "localip",
          "key": "├ Loc IP",
          "keyColor": "blue",
          "format": "{1} - {3}",
          "showMac": true
       },
       {
          "type": "dns",
          "key": "├ DNS   ",
          "keyColor": "blue"
       },
       {
          "type": "wifi",
          "key": "├ Wi-Fi ",
          "keyColor": "blue",
          "format": "{4} - {7} - {13} GHz - {6} - {10}"
       },
       {
          "type": "bluetooth",
          "key": "├ BT Dev",
          "keyColor": "blue",
          "format": "{1} - {4}"
       },
       {
          "type": "bluetoothradio",
          "key": "└ BT Ver",
          "keyColor": "blue",
          "format": "{5}"
       },
       "break"
    ]
}

System information

[
  {
    "type": "Title",
    "result": {
      "userName": "user",
      "fullUserName": "user",
      "hostName": "mac_di_user",
      "homeDir": "/Users/user/",
      "exePath": "/Users/user/Documents/Fastfetch/usr/bin/fastfetch",
      "userShell": "/bin/zsh"
    },
    "stat": 0.0059999991208314896
  },
  {
    "type": "Separator",
    "error": "Unsupported for JSON format",
    "stat": 0.0010000001639127731
  },
  {
    "type": "OS",
    "result": {
      "buildID": "24F74",
      "codename": "Sequoia",
      "id": "macos",
      "idLike": "",
      "name": "macOS",
      "prettyName": "",
      "variant": "",
      "variantID": "",
      "version": "15.5",
      "versionID": "15.5"
    },
    "stat": 0.2809999994933605
  },
  {
    "type": "Host",
    "result": {
      "family": "MacBookPro18,1",
      "name": "MacBook Pro (16-inch, 2021)",
      "version": "",
      "sku": "",
      "vendor": "Apple Inc.",
      "serial": "xxx",
      "uuid": "xxx"
    },
    "stat": 0.2530000004917383
  },
  {
    "type": "BIOS",
    "result": {
      "date": "Tue Apr 22 19:40:31 PDT 2025",
      "release": "",
      "vendor": "Apple Inc.",
      "version": "11881.121.1",
      "type": "iBoot"
    },
    "stat": 0.6359999999403954
  },
  {
    "type": "Bootmgr",
    "result": {
      "name": "iBoot",
      "firmware": "/System/Library/CoreServices/boot.efi",
      "order": 0,
      "secureBoot": false
    },
    "stat": 0.31599999964237213
  },
  {
    "type": "Board",
    "result": {
      "name": "J316sAP",
      "vendor": "Apple Inc.",
      "version": "",
      "serial": ""
    },
    "stat": 0.06300000101327896
  },
  {
    "type": "Chassis",
    "result": {
      "type": "Laptop",
      "vendor": "Apple Inc.",
      "version": "",
      "serial": ""
    },
    "stat": 0.06900000013411045
  },
  {
    "type": "Kernel",
    "result": {
      "architecture": "arm64",
      "name": "Darwin",
      "release": "24.5.0",
      "version": "Darwin Kernel Version 24.5.0: Tue Apr 22 19:54:49 PDT 2025; root:xnu-11417.121.6~2/RELEASE_ARM64_T6000",
      "displayVersion": "",
      "pageSize": 16384
    },
    "stat": 0.004999998956918716
  },
  {
    "type": "InitSystem",
    "result": {
      "name": "launchd",
      "exe": "/sbin/launchd",
      "version": "7.0.0",
      "pid": 1
    },
    "stat": 10.030000001192093
  },
  {
    "type": "Uptime",
    "result": {
      "uptime": 14915592,
      "bootTime": "2025-05-14T15:51:17.476+0200"
    },
    "stat": 0.4699999988079071
  },
  {
    "type": "Loadavg",
    "result": [
      1.33349609375,
      1.60546875,
      1.8056640625
    ],
    "stat": 0.006000000983476639
  },
  {
    "type": "Processes",
    "result": 613,
    "stat": 0.09100000001490116
  },
  {
    "type": "Packages",
    "error": "No packages from known package managers found",
    "stat": 0.11999999918043613
  },
  {
    "type": "Shell",
    "result": {
      "exe": "zsh",
      "exeName": "zsh",
      "exePath": "/bin/zsh",
      "pid": 1911,
      "ppid": 1910,
      "processName": "zsh",
      "prettyName": "zsh",
      "version": "5.9",
      "tty": 0
    },
    "stat": 3.825000001117587
  },
  {
    "type": "Editor",
    "error": "$VISUAL or $EDITOR not set",
    "stat": 0.014999998733401299
  },
  {
    "type": "Display",
    "result": [
      {
        "id": 1,
        "name": "Color LCD",
        "primary": true,
        "output": {
          "width": 3456,
          "height": 2234,
          "refreshRate": 120.0
        },
        "scaled": {
          "width": 1728,
          "height": 1117
        },
        "preferred": {
          "width": 3456,
          "height": 2234,
          "refreshRate": 120.0
        },
        "physical": {
          "width": 344,
          "height": 223
        },
        "rotation": 0,
        "bitDepth": 10,
        "hdrStatus": "Supported",
        "type": "Builtin",
        "manufactureDate": null,
        "serial": 4251086178,
        "platformApi": "CoreGraphics"
      }
    ],
    "stat": 29.759999999776483
  },
  {
    "type": "Brightness",
    "result": [
      {
        "name": "Color LCD",
        "max": 1.0,
        "min": 0.0,
        "current": 0.1960650384426117,
        "builtin": true
      }
    ],
    "stat": 1.1569999996572733
  },
  {
    "type": "Monitor",
    "error": "Monitor module is an alias of Display module",
    "stat": 0.005000000819563866
  },
  {
    "type": "LM",
    "error": "Not supported on this platform",
    "stat": 0.0
  },
  {
    "type": "DE",
    "result": {
      "processName": "",
      "prettyName": "Aqua",
      "version": ""
    },
    "stat": 0.0030000004917383194
  },
  {
    "type": "WM",
    "result": {
      "processName": "WindowServer",
      "prettyName": "Quartz Compositor",
      "protocolName": "",
      "pluginName": "",
      "version": "278.4.7"
    },
    "stat": 0.8159999996423721
  },
  {
    "type": "WMTheme",
    "result": "Multicolor (Light)",
    "stat": 0.10600000061094761
  },
  {
    "type": "Theme",
    "error": "Not supported on this platform",
    "stat": 0.0059999991208314896
  },
  {
    "type": "Icons",
    "error": "Not supported on this platform",
    "stat": 0.0010000001639127731
  },
  {
    "type": "Font",
    "result": {
      "display": ".AppleSystemUIFont [System], Helvetica [User]",
      "fonts": [
        ".AppleSystemUIFont",
        "Helvetica",
        ".AppleSystemUIFontMonospaced",
        "Menlo"
      ]
    },
    "stat": 4.3900000005960464
  },
  {
    "type": "Cursor",
    "result": {
      "theme": "Fill - Black, Outline - White",
      "size": "32"
    },
    "stat": 0.1699999999254942
  },
  {
    "type": "Wallpaper",
    "error": "All detection methods failed",
    "stat": 122.09300000034273
  },
  {
    "type": "Terminal",
    "result": {
      "processName": "Apple_Terminal",
      "exe": "/System/Applications/Utilities/Terminal.app/Contents/MacOS/Terminal",
      "exeName": "Terminal",
      "exePath": "/System/Applications/Utilities/Terminal.app/Contents/MacOS/Terminal",
      "pid": 1909,
      "ppid": 1,
      "prettyName": "Apple Terminal",
      "version": "455.1",
      "tty": "/dev/ttys000"
    },
    "stat": 1.1810000017285347
  },
  {
    "type": "TerminalFont",
    "result": {
      "font": {
        "name": "SFMono-Regular",
        "size": "12",
        "styles": [],
        "pretty": "SFMono-Regular (12pt)"
      },
      "fallback": {
        "name": "",
        "size": "",
        "styles": [],
        "pretty": ""
      }
    },
    "stat": 17.672999998554587
  },
  {
    "type": "TerminalSize",
    "result": {
      "columns": 120,
      "rows": 36,
      "width": 840,
      "height": 540
    },
    "stat": 0.005000000819563866
  },
  {
    "type": "TerminalTheme",
    "result": {
      "fg": {
        "r": 0,
        "g": 0,
        "b": 0,
        "dark": true
      },
      "bg": {
        "r": 255,
        "g": 255,
        "b": 255,
        "dark": false
      }
    },
    "stat": 0.25
  },
  {
    "type": "CPU",
    "result": {
      "cpu": "Apple M1 Pro",
      "vendor": "Apple",
      "packages": 1,
      "cores": {
        "physical": 10,
        "logical": 10,
        "online": 10
      },
      "frequency": {
        "base": 0,
        "max": 3228
      },
      "coreTypes": [
        {
          "count": 8,
          "freq": 2
        },
        {
          "count": 2,
          "freq": 1
        }
      ],
      "temperature": 41.475318908691406
    },
    "stat": 5.675999999046326
  },
  {
    "type": "CPUCache",
    "result": {
      "l1": [
        {
          "size": 196608,
          "num": 8,
          "lineSize": 0,
          "type": "instruction"
        },
        {
          "size": 131072,
          "num": 8,
          "lineSize": 0,
          "type": "data"
        },
        {
          "size": 131072,
          "num": 2,
          "lineSize": 0,
          "type": "instruction"
        },
        {
          "size": 65536,
          "num": 2,
          "lineSize": 0,
          "type": "data"
        }
      ],
      "l2": [
        {
          "size": 12582912,
          "num": 2,
          "lineSize": 0,
          "type": "unified"
        },
        {
          "size": 4194304,
          "num": 1,
          "lineSize": 0,
          "type": "unified"
        }
      ]
    },
    "stat": 0.02500000037252903
  },
  {
    "type": "CPUUsage",
    "result": [
      4.761904761904762,
      9.090909090909092,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0
    ],
    "stat": 205.17400000058115
  },
  {
    "type": "GPU",
    "result": [
      {
        "index": 0,
        "coreCount": 16,
        "coreUsage": 17.0,
        "memory": {
          "dedicated": {
            "total": null,
            "used": null
          },
          "shared": {
            "total": 11453251584,
            "used": 352256000
          },
          "type": null
        },
        "driver": "com.apple.AGXG13X 327.5",
        "name": "Apple M1 Pro",
        "temperature": 42.69594955444336,
        "type": "Integrated",
        "vendor": "Apple",
        "platformApi": "Metal 3",
        "frequency": 1296,
        "deviceId": 4294969876
      }
    ],
    "stat": 31.87199999950826
  },
  {
    "type": "Memory",
    "result": {
      "total": 17179869184,
      "used": 6895108096
    },
    "stat": 0.024000000208616257
  },
  {
    "type": "PhysicalMemory",
    "result": [
      {
        "size": 17179869184,
        "maxSpeed": 0,
        "runningSpeed": 0,
        "type": "LPDDR5",
        "locator": "",
        "formFactor": "",
        "vendor": "Samsung",
        "serial": "",
        "partNumber": "",
        "ecc": false
      }
    ],
    "stat": 156.39599999971688
  },
  {
    "type": "Swap",
    "result": {
      "total": 0,
      "used": 0
    },
    "stat": 0.005000000819563866
  },
  {
    "type": "Disk",
    "result": [
      {
        "bytes": {
          "available": 310850600960,
          "free": 310850600960,
          "total": 494384795648,
          "used": 183534194688
        },
        "files": {
          "total": 3036076198,
          "used": 425798
        },
        "filesystem": "apfs",
        "mountpoint": "/",
        "mountFrom": "/dev/disk3s3s1",
        "name": "Macintosh HD",
        "volumeType": [
          "Regular",
          "Read-only"
        ],
        "createTime": "2025-05-04T07:39:22.000+0200"
      },
      {
        "bytes": {
          "available": 310850600960,
          "free": 310850600960,
          "total": 494384795648,
          "used": 183534194688
        },
        "files": {
          "total": 3036300705,
          "used": 650305
        },
        "filesystem": "apfs",
        "mountpoint": "/System/Volumes/Data",
        "mountFrom": "/dev/disk3s1",
        "name": "Data",
        "volumeType": [
          "Hidden"
        ],
        "createTime": "2024-11-07T21:42:57.752+0100"
      },
      {
        "bytes": {
          "available": 504467456,
          "free": 504467456,
          "total": 524288000,
          "used": 19820544
        },
        "files": {
          "total": 4926496,
          "used": 56
        },
        "filesystem": "apfs",
        "mountpoint": "/System/Volumes/Hardware",
        "mountFrom": "/dev/disk1s3",
        "name": "Hardware",
        "volumeType": [
          "Hidden"
        ],
        "createTime": "2022-01-04T18:17:15.746+0100"
      },
      {
        "bytes": {
          "available": 310850699264,
          "free": 310850699264,
          "total": 494384795648,
          "used": 183534096384
        },
        "files": {
          "total": 3035652851,
          "used": 1491
        },
        "filesystem": "apfs",
        "mountpoint": "/System/Volumes/Preboot",
        "mountFrom": "/dev/disk3s4",
        "name": "Preboot",
        "volumeType": [
          "Hidden"
        ],
        "createTime": "2024-11-07T19:59:11.456+0100"
      },
      {
        "bytes": {
          "available": 310851010560,
          "free": 310851010560,
          "total": 494384795648,
          "used": 183533785088
        },
        "files": {
          "total": 3035654458,
          "used": 58
        },
        "filesystem": "apfs",
        "mountpoint": "/System/Volumes/Update",
        "mountFrom": "/dev/disk3s2",
        "name": "Update",
        "volumeType": [
          "Hidden"
        ],
        "createTime": "2024-11-07T19:27:59.452+0100"
      },
      {
        "bytes": {
          "available": 310851010560,
          "free": 310851010560,
          "total": 494384795648,
          "used": 183533785088
        },
        "files": {
          "total": 3035654400,
          "used": 0
        },
        "filesystem": "apfs",
        "mountpoint": "/System/Volumes/VM",
        "mountFrom": "/dev/disk3s6",
        "name": "VM",
        "volumeType": [
          "Hidden"
        ],
        "createTime": "2024-11-07T19:59:11.465+0100"
      },
      {
        "bytes": {
          "available": 504467456,
          "free": 504467456,
          "total": 524288000,
          "used": 19820544
        },
        "files": {
          "total": 4926488,
          "used": 48
        },
        "filesystem": "apfs",
        "mountpoint": "/System/Volumes/iSCPreboot",
        "mountFrom": "/dev/disk1s1",
        "name": "iSCPreboot",
        "volumeType": [
          "Hidden"
        ],
        "createTime": "2022-01-04T18:17:15.391+0100"
      },
      {
        "bytes": {
          "available": 504467456,
          "free": 504467456,
          "total": 524288000,
          "used": 19820544
        },
        "files": {
          "total": 4926441,
          "used": 1
        },
        "filesystem": "apfs",
        "mountpoint": "/System/Volumes/xarts",
        "mountFrom": "/dev/disk1s2",
        "name": "xarts",
        "volumeType": [
          "Hidden"
        ],
        "createTime": "2022-01-04T18:17:15.572+0100"
      }
    ],
    "stat": 0.16600000113248825
  },
  {
    "type": "Btrfs",
    "error": "Not supported on this platform",
    "stat": 0.0010000001639127731
  },
  {
    "type": "Zpool",
    "error": "Not supported on this platform",
    "stat": 0.0010000001639127731
  },
  {
    "type": "Battery",
    "result": [
      {
        "capacity": 30.0,
        "manufacturer": "Apple Inc.",
        "manufactureDate": "2021-12-02",
        "modelName": "bq40z651",
        "status": "Discharging",
        "technology": "Lithium",
        "serial": "F8Y149500AT0VC4A6",
        "temperature": 29.350000000000023,
        "cycleCount": 302,
        "timeRemaining": 21360
      }
    ],
    "stat": 0.8349999990314245
  },
  {
    "type": "PowerAdapter",
    "result": [],
    "stat": 0.30599999986588955
  },
  {
    "type": "Player",
    "error": "Player module is an alias of Media module",
    "stat": 0.0
  },
  {
    "type": "Media",
    "error": "No media found",
    "stat": 254.8590000011027
  },
  {
    "type": "PublicIp",
    "result": {
      "ip": "xxx",
      "location": "xxx"
    },
    "stat": 0.07799999974668026
  },
  {
    "type": "LocalIp",
    "result": [
      {
        "name": "en0",
        "defaultRoute": true,
        "ipv4": "192.168.1.20/24",
        "ipv6": "fe80::8f3:b853:2fd1:b484/64",
        "mac": "56:06:38:ee:33:80",
        "mtu": 1500,
        "speed": -1,
        "flags": "UP,BROADCAST,RUNNING,MULTICAST,NOTRAILERS,SIMPLEX"
      }
    ],
    "stat": 0.05899999849498272
  },
  {
    "type": "DNS",
    "result": [
      "192.168.1.28"
    ],
    "stat": 0.346000000834465
  },
  {
    "type": "Wifi",
    "result": [
      {
        "inf": {
          "description": "en0",
          "status": "Power On"
        },
        "conn": {
          "status": "Active",
          "ssid": "xxx",
          "bssid": "<redacted>",
          "protocol": "802.11ac (Wi-Fi 5)",
          "security": "WPA2 Personal",
          "signalQuality": 66.0,
          "rxRate": null,
          "txRate": 130.0,
          "channel": 52,
          "frequency": 5400
        }
      }
    ],
    "stat": 21.175000000745058
  },
  {
    "type": "DateTime",
    "result": "2025-05-14T19:59:53.927+0200",
    "stat": 0.008999999612569809
  },
  {
    "type": "Locale",
    "result": "it_IT.UTF-8",
    "stat": 0.0010000001639127731
  },
  {
    "type": "Vulkan",
    "error": "dlopen libvulkan.dylib failed",
    "stat": 0.15799999982118607
  },
  {
    "type": "OpenGL",
    "result": {
      "version": "4.1 Metal - 89.4",
      "renderer": "Apple M1 Pro",
      "vendor": "Apple",
      "slv": "4.10",
      "library": "CGL 1.2"
    },
    "stat": 7.940999999642372
  },
  {
    "type": "OpenCL",
    "result": {
      "version": "1.2 (Apr 18 2025 21:46:03)",
      "name": "Apple",
      "vendor": "Apple",
      "gpus": [
        {
          "type": "Integrated",
          "vendor": "Apple",
          "name": "Apple M1 Pro",
          "driver": "1.0",
          "platformApi": "OpenCL 1.2",
          "coreCount": 16,
          "frequency": 1000,
          "memory": {
            "dedicated": {
              "total": null,
              "used": null
            },
            "shared": {
              "total": 11453251584,
              "used": null
            }
          },
          "deviceId": 16940800
        }
      ]
    },
    "stat": 1.3179999999701977
  },
  {
    "type": "Users",
    "result": [
      {
        "name": "user",
        "hostName": "",
        "sessionName": "console",
        "clientIp": "",
        "loginTime": "2025-05-14T15:52:26.080+0200"
      }
    ],
    "stat": 0.08200000040233135
  },
  {
    "type": "Bluetooth",
    "result": [],
    "stat": 16.03500000014901
  },
  {
    "type": "BluetoothRadio",
    "result": [
      {
        "name": "Mac di user",
        "address": "F4:D4:88:88:74:00",
        "lmpVersion": -11,
        "lmpSubversion": null,
        "vendor": "Apple",
        "enabled": true,
        "discoverable": false,
        "connectable": true
      }
    ],
    "stat": 63.01300000026822
  },
  {
    "type": "Sound",
    "result": [
      {
        "active": true,
        "main": true,
        "volume": 38,
        "name": "Altoparlanti MacBook Pro",
        "identifier": "71",
        "platformApi": "Core Audio"
      }
    ],
    "stat": 28.506999999284744
  },
  {
    "type": "Camera",
    "result": [
      {
        "name": "Fotocamera HD FaceTime",
        "vendor": "Apple Inc.",
        "colorSpace": "sRGB",
        "id": "47B4B64B-7067-4B9C-AD2B-AE273A71F4B5",
        "width": 1920,
        "height": 1080
      },
      {
        "name": "Fotocamera di iPhone di user",
        "vendor": "",
        "colorSpace": "sRGB",
        "id": "708BD245-DE69-44E2-964F-597500000001",
        "width": 640,
        "height": 480
      }
    ],
    "stat": 34.334999999031425
  },
  {
    "type": "Gamepad",
    "result": [],
    "stat": 0.15300000086426735
  },
  {
    "type": "Mouse",
    "result": [
      {
        "serial": "FM71502037BNX0QAR+EBN",
        "name": "Apple Internal Keyboard / Trackpad"
      }
    ],
    "stat": 6.501000000163913
  },
  {
    "type": "Keyboard",
    "result": [
      {
        "serial": "FM71502037BNX0QAR+EBN",
        "name": "Apple Internal Keyboard / Trackpad"
      }
    ],
    "stat": 5.214999999850988
  },
  {
    "type": "Weather",
    "result": "+20°C - Partly cloudy (Jesolo, Italy)",
    "stat": 0.06000000052154064
  },
  {
    "type": "NetIO",
    "result": [
      {
        "name": "en0",
        "defaultRoute": true,
        "txBytes": 980,
        "rxBytes": 1600,
        "txPackets": 12,
        "rxPackets": 11,
        "rxErrors": 0,
        "txErrors": 0,
        "rxDrops": 0,
        "txDrops": 0
      }
    ],
    "stat": 0.006999999284744263
  },
  {
    "type": "DiskIO",
    "result": [
      {
        "name": "APPLE SSD AP0512R Media",
        "devPath": "/dev/disk0",
        "bytesRead": 4820992,
        "bytesWritten": 262144,
        "readCount": 346,
        "writeCount": 24
      }
    ],
    "stat": 0.21399999968707561
  },
  {
    "type": "PhysicalDisk",
    "result": [
      {
        "name": "APPLE SSD AP0512R Media",
        "devPath": "/dev/disk0",
        "interconnect": "Apple Fabric",
        "kind": "SSD",
        "size": 500277792768,
        "serial": "0ba0181281b10426",
        "removable": false,
        "readOnly": false,
        "revision": "532.120.",
        "temperature": 28.0
      }
    ],
    "stat": 1.6370000001043081
  },
  {
    "type": "TPM",
    "result": {
      "version": "2.0",
      "description": "Apple Silicon Security"
    },
    "stat": 0.0010000001639127731
  },
  {
    "type": "Version",
    "result": {
      "projectName": "fastfetch",
      "sysName": "Darwin",
      "architecture": "aarch64",
      "version": "2.43.0",
      "versionGit": "",
      "cmakeBuiltType": "RelWithDebInfo",
      "compileTime": "May 14 2025, 01:44:32",
      "compiler": "Apple clang 15.0.0 (15000309)",
      "debugMode": false,
      "libc": "libSystem 1345.120.2"
    },
    "stat": 0.0010000001639127731
  },
  {
    "type": "Break",
    "error": "Unsupported for JSON format",
    "stat": 0.0
  },
  {
    "type": "Colors",
    "error": "Unsupported for JSON format",
    "stat": 0.0
  }
]

Features built-in

threads
vulkan
imagemagick7
chafa
zlib
sqlite3
@CTRL-panino CTRL-panino added the bug Something isn't working label May 14, 2025
@CarterLi
Copy link
Member

Image

Cannot reproduce

@CarterLi CarterLi added apple Only affects Apple platform can't reproduce and removed apple Only affects Apple platform labels May 15, 2025
@CTRL-panino
Copy link
Author

CTRL-panino commented May 15, 2025

Hi @CarterLi ,
I noticed a couple of differences between my configuration and yours that might be relevant:

  • Are you using Homebrew? I am not; in my case, to use --stat, I executed it with the following command: /Users/user/Documents/Fastfetch/usr/bin/fastfetch --stat (the path where I saved the Fastfetch folder and files)
  • I'm using the stock Terminal emulator for macOS and zsh as my shell

Let me know if this helps or if you need any further information!

@CarterLi
Copy link
Member

CarterLi commented May 16, 2025

Tested in Apple Terminal. Although it's messy, every modules seem to be printed correctly.

Image

I can only reproduce the messy output in Apple Terminal, and I do remember --stat worked some time ago. I think it's a regression of Apple Terminal.

You should try if other modern terminal such as iTerm works for you.

@CTRL-panino
Copy link
Author

I'm not sure that it's a regression of Apple Terminal since another machine running macOS Catalina shows the same error.
The --stat command is not essential in my use case but I thought it was better to report this error.

CarterLi added a commit that referenced this issue May 16, 2025
Fix Apple Terminal compatibility #1755
@CarterLi
Copy link
Member

Should be fixed in dev branch

@CTRL-panino
Copy link
Author

It now works perfectly! Thank you very much :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working can't reproduce
Projects
None yet
Development

No branches or pull requests

2 participants